Fonction

Description

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:

Syntaxe

VBScript

queryfielddef.Function 
queryfielddef.Function NewValue 

Perl

$queryfielddef->GetFunction();
$queryfielddef->SetFunction(NewValue); 
Identificateur
Description
queryfielddef
A QueryFieldDef object.
Nouvelle valeur
A Long that specifies the function type for the field. The value corresponds to one of the DbFunction constants.
Valeur de retour
Returns a Long that identifies the function type for the field. The value corresponds to one of the DbFunction constants.

Feedback