Fernand St-Georges
|
| Posted: 04/26/2007, 3:23 AM |
|
Hi
my CodeCharge version is in French so I do not have always the correct
expression to use. I have two tables underlying two editable windows.
Now, I'm facing a problem of forcing a default value in the first window,
while instead of a text box, I have a label that shows the value. The value
is calculated from a trigger fired inserting, updating or deleting from
anonther table in the database. The user should not be able to put any
value in the related column of the database. I need a forced insert coming
from the application to set the value to "0".
Is there any manner of setting this value from the application while I have
a label on the column.
thanks
Fernand
|
|
|
 |
Benjamin Krajmalnik
|
| Posted: 04/26/2007, 12:08 PM |
|
If you have a label and are not using any custom overides, then you have a
minor problem.
Go to your record. In the "Data" tab, select a "Custom Insert Type" of
table.
You can now set each field the way you want it only for the inserts, priming
your field.
Another option is to place a hidden field.
|
|
|
 |
|