Object name and Get() functions
I have a question regarding a Get(ActiveLayoutObjectName) function. To make the things simple I have included the sample database in the post.
The problem is the following:
As You can see from the image below, I have two tables called Form and Table. In the table Form I have Field 1 and Field 2, which are represented in the form as Edit Box named Left and Right.
I have set the tab order as in the picture and created the simple script that should once the button is clicked to move focus to the field, and then copy the fields name in the field in the table named Table (i know my naming sucks).
This is where the problem starts, no matter if I click left or right button I get the name of the left field, even tho the order is set correctly! Please help, this is a simple example but is a part of a much more complex script for me!
Here is a sample database for my problem: