Xbasic
FIELD.TAG_GET Function
Syntax
Index_Expression as C = Tag_Get()
Description
If the field is indexed, return the tagname, else return an empty string.
Discussion
The .TAG_GET() method returns the Index_Expression for the field, if it is indexed.
Example
This example shows that the Product_Id field is indexed on its value.
dim tbl as P
dim fld as P
tbl = table.open("invoice.set")
fld = tbl.field_get("INVOICE_ITEMS->PRODUCT_ID")
? fld.tag_get()
= "Product_Id"See Also