The Table_SetRefreshFlags() function sets the refresh flags for each client buffer associated with the named table. When this flag is set for a given client buffer, the next time Dexterity attempts to access that client buffer, the buffer will be refreshed before it is accessed. Using this function can ensure that any client buffers associated with the named table will contain the most current information.
Table_SetRefreshFlags(table table_name)
• table table_name – The name of the table for which the refresh flags are to be set.
An integer corresponding to one of the following constants:
Constant |
Description |
---|---|
STATUS_SUCCESS |
The refresh flag was set for each of the table’s client buffers. |
STATUS_ERROR |
An error occurred, causing the function to be unable to set the refresh flag for each of the table’s client buffers. |
This function should be used after a stored procedure has run. It will ensure that the data in the client buffers is updated to reflect any changes made to the table as a result of the stored procedure.