Occurs after the DBGetProp(В ) function completes. There are two versions of the syntax.
PROCEDURE dbc_AfterDBGetProp(cName, cType, cProperty) |
PROCEDURE dbc_AfterDBGetProp LPARAMETERS cName, cType, cProperty |
Parameters
- cName
- Specifies the value of the first parameter in the DBGetProp() function, the name of the database, field, named connection, table, or view for which DBGETPROP(В ) returns information.
- cType
- Specifies the value of the second parameter in the DBGetProp() function, the object type of the item named in cName.
- cProperty
- Specifies the value of the third parameter in the DBGetProp() function, the property for which DBGETPROP(В ) returns information.
For details on valid cType and cProperty values, see in Help.
Remarks
You can use the dbc_AfterDBGetProp event to track access to the database after DBGetProp runs.
Example
| В | Copy Code |
|---|---|
* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_AfterDBGetProp ;
(cName,;
cType,;
cProperty)
? '>> ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? ' Current DBC: ' + SUBSTR(DBC(),RAT('\',DBC())+1)
? ' cName = ' + TRANSFORM(cName) + ' - ' + TYPE('cName')
? ' cType = ' + TRANSFORM(cType) + ' - ' + TYPE('cType')
? ' cProperty = ' + TRANSFORM(cProperty) + ' - ' + TYPE('cProperty')+' /end/ '
ENDPROC | |
js editor
Web development