In 4D 2004, you can get the names of all the objects in the current form of the current table using the new command GET FORM OBJECTS. This command returns the list of all objects in the form of array(s). It takes a text array parameter to store the object names. As optional parameters, it takes a pointer array to store the pointers to variables or fields associated with the objects and an integer array to store the page number of the form which contains the objects. The arrays passed as parameters correspond to each other. For example, the code below can be inserted into the object method of each object in the form to display the object name of the object selected.