🔍

Data Source Object Variable

The list of Tasks is generated using the Object ID of the entry clicked - we call this the "FormsKey" variable.  There are four system variables you have direct access to.  These are explained further, below;

 System Variables

 

Additionally you can create your own "Form Variables", accessing other methods that are built into XPOR.  This is also explained below.

UserObjectId

 

Now

 

FormsKey

 

ParentFormsKey

 

Create our own Form Variables

In some cases you may need to do something different than the standard XPOR System Variables will enable.  In which case you can simply create your own Variable and

Object Variable "object"

The "object" object variable (!) is going to focus the next grid form on the object that has been clicked,  For example, if you have arranged your Books into Categories and put your list of categories into a Menu, then, when you click a partiucular category in the menu, you may want to display all of the books in that category.  Easily done with a Grid.  But the grid needs to understand which category was clicked.

In the example of the FormsKey System Variable, it would be straightforward to click on a Grid Form entry - category123, and carries its' object ID to the next grid - to seed its' data source and return all of its books.

The Menu doesn't have a FormsKey - but is does know what has been clicked!  The Menu is simply listing out the selected objects - so each menu item is based on an OBJECT.  In this case it is listing out the know you have clicked the "object"option.