Default Field Values
Posted: Mon 22 Mar 2010 17:03
Hello,
Is it possible when adding a new record usin TMSTable or TMSQuery for fields to be populated with default values.
eg.
Table.Open;
Table.Insert
FieldDefault := Table.FieldByName('A Field With Default').AsInteger;
This would allow bound checkboxes etc to show default rather than empty null etc.
thanks
Is it possible when adding a new record usin TMSTable or TMSQuery for fields to be populated with default values.
eg.
Table.Open;
Table.Insert
FieldDefault := Table.FieldByName('A Field With Default').AsInteger;
This would allow bound checkboxes etc to show default rather than empty null etc.
thanks