RAD Studio VCL Reference
|
Specifies an SQL expression that is assigned to the field if the user does not provide a value.
property DefaultExpression: string;
__property AnsiString DefaultExpression;
Set DefaultExpression to provide a default value for a field. DefaultExpression can be any valid SQL value expression that does not refer to field values. If the expression contains literals other than numeric values, they must appear in quotes. For example, a default value of noon for a time field is
'12:00:00'
including the quotes around the literal value.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|