Subject DataSet/Grid Positioning
Author Eddie Bush
Is there something in IB_Grid that causes it to go to the first row when it is shown?

I have a form that, upon being shown, calls another form that guides the user through the creation of a master record (a wizard of sorts). After the master record is created, they are given the opportunity to add detail records.

The first time the user opens the form and is given the wizard, something seems to reposition the dataset to the first record. I even tried locating the record after it was inserted (before form is shown for the first time). I still wind up with the master dataset at the first record.

If, however, I reject (rollback) the transaction and invoke the wizard from the File -> New command, which executes the same action that the OnShow event of the form does, I get the record I want. Is there some way I can get around having the dataset set itself to the first record the first time?

Any suggestions/comments are most appreciated!

Thanks in Advance!

Eddie



[Non-text portions of this message have been removed]