![]() | Programming Guide | ![]() |
Fetches the next set of information from the database
int sm_tm_command ("CONTINUE [tableViewName[tableViewScope] ]");
tableViewName- The name of a server view in the current transaction. This parameter is case sensitive.
If
tableViewNameis specified, the command is applied according to thetableViewScopeparameter. (Since the entire table view tree might not be included, this is known as a partial command, andsm_tm_commandsetsTM_FULLto 0.) The specified table view must either be a server view or be the server view to which the desired table view belongs.If
tableViewNameis not specified, the command is applied for each table/server view, starting with the root table view. This is known as a full command, andsm_tm_commandsetsTM_FULLto 1.tableViewScope- One of the following parameters, which must be preceded by a table view name.
TV_AND_BELOWwhich applies the command to the specified table view and all table views below it on the tree. If no parameter is specified, the transaction manager acts as thoughTV_AND_BELOWwas supplied.BELOW_TVwhich applies the command to the table views below the specified table view.TV_ONLYwhich applies the command to the specified table view only.SV_ONLYwhich applies the command only to the table views of the specified server view.
CONTINUE(not available in Web applications or three-tier processing) fetches the next set of information from the database. If there are no additional rows, this command has no effect.
CONTINUEdoes not set the transaction mode but requires view or update mode. A partialCONTINUEcommand is also permitted in new mode.Push buttons and menu selections for the
CONTINUEcommand can choose to set the class property tocontinue_button. By default,continue_buttonis active in view and update modes.If your screen has multiple table views, the transaction manager issues a
DBMSCONTINUEfor the specified table view and any table views linked to it via server links. This displays the next set of rows for that server view. ThenSELECTorVIEWprocessing is done for any additional child table views.If your screen has multiple table views and you want to fetch data for only one table view, use
FETCHinstead ofCONTINUE.
If the setting of the Fetch Directions property, as discussed in the
CONTINUE_DOWNcommand, permits theCONTINUE_DOWNcommand to be executed, the data displayed by this command for the specified server view can come from a continuation file. The warnings forCONTINUE_DOWNthen apply.
Use
CONTINUEafterSELECTorVIEWwhich generate a database query and display the first set of query results.
The following requests can be generated by the
CONTINUEcommand to ascertain whether the changes from the previous command have been saved and, if desired, to discard those changes:
TM_PRE_CLOSE(described underCLOSE)
TM_CLOSE(described underCLOSE)
TM_QUERY(described underCLOSE)
The following requests can also be generated:
TM_FETCH(described underFETCH)
TM_PRE_SELECT(described underSELECT)
TM_SELECT(described underSELECT)
TM_POST_SELECT(described underSELECT)
TM_PRE_VIEW(described underVIEW)
![]()
![]()
![]()
![]()