>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