Xbasic
OBJECT.INDEX_POINTER Function
Syntax
.Index_pointer()
Description
Returns a pointer to the current primary index or query.
Discussion
The <OBJECT>.INDEX_POINTER() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.INDEX_POINTER() method returns a pointer to the current primary index or query.
Example
dim ptr as P dim cptr as P ptr = form.load("Customer Information") ptr.show() cptr = ptr.Index_pointer() ? cptr.name_get() = "Lastname0"
Limitations
Desktop applications only.
See Also