Difference between revisions of "RESTORE DATASESSION"
From Recital Documentation Wiki
Barrymavin (Talk | contribs) |
Barrymavin (Talk | contribs) (→Products) |
||
Line 39: | Line 39: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital, Recital Web |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Screen Forms]] | [[Category:Screen Forms]] | ||
[[Category:Screen Forms Commands]] | [[Category:Screen Forms Commands]] |
Revision as of 04:08, 3 June 2011
Purpose
Save the status of the current data session
Syntax
RESTORE DATASESSION [ FROM <memvar>]
See Also
@...GET, CHANGE, EDIT, ON KEY, READ, REPLACE(), RESTORE RECORDVIEW, SAVE DATASESSION, SET CLIPPER, SET KEY, SET PCKEYS, SKIP
Description
The RESTORE DATASESSION command is used to restore the status of all open tables. The RESTORE DATASESSION command restores the following context pertaining to the saved session (See SAVE DATASESSION):
- Currently selected workarea
- Workarea number
- database name
- full path of table
- all index files
- Current record number
- Current index order
- Lock status
- eof() status
- bof() status
- found() status
The SAVE DATASESSION command may be used to save the above information.
Example
procedure check_value save datasession close all // open up some new tables using a new datasession restore datasession return
Products
Recital, Recital Web