| USING VARIABLES IN abcDB |
abcDB also allows you to use memory variables. There is one command that you need to remember in this regard:
SETMEM(variableName // value)
You could for example, execute the next command to save the value in a textbox to the variable named CustomerNumber:
SETMEM(CustomerNumber//~CustomerID~)
You refer to variables by surrounding the variable name with <! !>.
For example, if you then wanted to requery your form based on the CustomerNumber variable, you could do something like this:
FORMREQUERY(“SELECT * FROM YourTableName WHERE CustomerID = “ <!CustomerNumber!>//1//”---“)