TOPIC: Default value for fields
#56
Default value for fields 4 Years, 6 Months ago
In NumberControl, the User's Manual states that with 'set' I can specify an initial value for the control. But when I use this control in a Field_definition, in a code like:

Field_number
{
Control: (Number set: 0)
}

when I open an access for a table that uses such a field, the initial value for that field is null.
Therefore my solution is to define a rule for that field that returns the default value I want.

Why 'set' is not working?
 
 
Mauro
 
#57
Re:Default value for fields 4 Years, 6 Months ago
set is overridden by the RecordControl used by Access.

We should mention this in the documentation.

A rule is a good solution.
 
 
andrew