I really liked an xDialog example posted here by Tom Cone. It is a very nice way to use an xDialog to view and enter records into a table. It's intended for simple data entry into the viewed table.

I decided to take it a step further adding a keylist as a front end.
Next, I wanted to make this generic so I could easily apply this function to different tables.
The first 80 lines of code are where instructions and the specifics for that application are applied.

Those lines can then be put into a script or into a buttons OnPush event to call the function.

Selecting those first 80 lines and pressing the un-comment out toolbar icon once will allow one to make changes
and test those changes from right within the function. Just remember to comment out those lines when done testing.

I'm sure improvements can be made. Any feedback would be appreciated.

Thank you,

Attached Files