Check the datasession property of the form you open when the command button is pressed. If it is private, then you're not using the same cursor in the two forms. If it is private and you want to keep it private, you will need to pass the table's primary key to the new form and move the record pointer in its init method.
>I'm useing a grid (read only) to allow users to browse through data. On my form there is an edit command button that opens another form to allow editing of the current record (the highlighted record on the grid).
>
>When you move the highlight bar in the grid it moves the record pointer does it not? (according to the status bar it does!!) HOWEVER .... when I press the edit command button mentioned above the record in the edit form is NOT the record from the grid. WHY ?????
>
>Also... if you have a grid on a form does the table open automatically because it is bound to a grid.... even if the table is not in the data environment ????? IF so... WHY ????
Brien R. Givens
Brampwood Systems