Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When does the record pointer move.
Message
 
 
To
05/11/1998 16:03:07
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00155000
Message ID:
00155006
Views:
37
>I am using a private data session. When the form opens it receives a parameter value which is used to search the primary key of a table in the dataenvironment and populate the entry boxes on the form. I do the search in the init of the form where I also manipulate a couple of the fields in the table. Everything is ok in the init event. The activate event for the form for which there is no code MOVES the record pointer and I cannot determine why. What's going on here? I finally just put some code in to test the key value and do another seek if it is different but I sure would like to understand why this is happening.

Is there any code in your base form class activate method? You could try placing 1 line of code [NoDefault] in the Activate method of the form that is problematic. If that works, maybe something in the parent form class Activate is moving the pointer.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform