Xbasic
FIELD.RULES_GET Function
Syntax
Rules_List as P = Rules_Get()
Returns
- Rules_ListPointer
Returns a list of rules in a dot variable.
Description
The .RULES_GET() method returns the field rules for the field.
Example
The following example shows that the product_id field has no case conversion rules.
dim tbl as P dim fld as P dim rules as P tbl = table.open("invoice.set") fld = tbl.field_get("INVOICE_ITEMS->PRODUCT_ID") rules = fld.rules_get() ? rules.Case_Convert = "None"
Limitations
Desktop applications only.
See Also