Hi Brien,
The datasession setting is public.
As I've worked this afternoon to solve this problem i've discovered someting. Perhaps you can help me?
The code in the command button click (for the edit) is this
do form formname
thisform.grid1.refresh
thisform.grid1.setfocus
My assumption is that the form is called... does its thing and when it returns the next two lines are executed. That is not, however, what is happening.
I changed the code to this to see what was going on.
do form formname
wait window 'this is a test"
thisform.grid1.refresh
thisform.grid1.setfocus
This time when the button was clicked...
the edit form comes up with the proper record and goes strait to the wait command..... the next two lines are executed and then the edit form comes back with the different record.
WHY does this happen ?????????
Tom
Tom Gahagan
Alliance
Computer Solutions
"Music, like sex, is much too important to be left to professionals."
Robert Shaw