Set or returns a function for the QueryFieldDef . The DbFunction enum identifies the function for the field.
The following date functions are currently supported. These DbFunctions apply to fields of type _DATE_TIME (that is, they can only be applied to datetime fields).
For example, given the submit date of 8/29/2002, you get the following values for the DbFunctions:
VBScript
queryfielddef.Function queryfielddef.Function NewValue
Perl
$queryfielddef->GetFunction(); $queryfielddef->SetFunction(NewValue);