TO-ROWID function
Converts a string representation of a ROWID to a valid ROWID value.
Syntax
rowid-string
ExampleThe following procedure (
r-torwid.p
) selects CustomerBalance
and credit information and displays it in a browse. You can select any number of rows to store and display more information on the selected Customers.
Thus, when you choose the bstore button,
r-torwid.p
stores the ROWID string values of all selected Customer records in a temp-table. When you choose the bdisplay button, it displays the selected Customer Phone information in a DOWN frame by converting each stored ROWID string to a ROWID value and finding the corresponding Customer record. (The example also allows you to add selections and restart by deleting the existing selections.)NoteAlthough TO-ROWID converts a properly formatted string to a ROWID value, there is no guarantee that this value corresponds to an existing record in your database.
See alsoDATE function, DECIMAL function, INTEGER function, ROWID function, STRING function
OpenEdge Release 10.2B
|