SmartIndex
This event triggers for the field where the smart indexing is defined. This field typically provides the key for the select statement.
Syntax
<Fieldn>_SmartIndex (pField as ISCBCdrField, pWorkdoc as ISCBCdrWorkdoc)
Parameter | Description |
---|---|
pField | Object containing the current field |
pWorkdoc | Current workdoc object |
Sample Code
Private Sub CustomerNo_SmartIndex(pField as SCBCdrPROJLib.SCBCdrField, pWorkdoc as SCBCdrPROJLib.SCBCdrWorkdoc)
'avoid validation for the Name field if filled by smart indexing
pWorkdoc.Fields("Name").Valid = TRUE
End Sub