Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids... the record pointer... etc
Message
From
08/05/2000 17:46:18
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00367379
Message ID:
00367415
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform