Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalBoolean DataSourceExecuteSqlStateEvent(SalSqlHandle hSql, SalString sEvent)
The DataRecordExecuteStateEvent method executes a state event in the server for a record.
Name | Description |
---|---|
SalSqlHandle hSql | Database connection sql handle to use for this server method call. Typically c_hSql is used. |
SalString sEvent | Name of the event to execute. This event is converted using client->server naming conventions to produce the name of the server method to call. |
The return value is true if the state event is executed successfully, false otherwise.
DataRecordExecuteStateEvent is called once for each selected record by the
DataSourceExecuteSqlStateEvent method.