Problem that I am finding difficult to solve.
I have a database of two tables (I'll call them Table1 and Table2), the tables being linked by a common key, providing a one-to-many relationship to Table2. I have a form where I've defined in the data session that the records in Table2 are filtered by the index key value that relates the records back to Table2. The tables are displayed in listboxes.
I can click through Table1, and corresponding Table2 records appear fine in their listbox. When I select a record from Table2, I display the fields in text boxes, and all looks fine there too.
The problem comes where I open a memo field in Table2, make a change (or not - it doesn't matter) and return to the form. The record pointer in Table2 has moved back to the first record that matches the cxurrent Table1 record. The same thing happens when I Alt-Tab to another screen, i.e. the Debugger and back to my form, the pointer in Table2 moves always back to the first record matching the current Table1 record.
Obviously, I want to retain my position in Table2, but can't work out how to do this. Anyone know what's going on?
I have a database of two tables (I'll call them Table1 and Table2), the tables being linked by a common key, providing a one-to-many relationship to Table2. I have a form where I've defined in the data session that the records in Table2 are filtered by the index key value that relates the records back to Table2. The tables are displayed in listboxes.
I can click through Table1, and corresponding Table2 records appear fine in their listbox. When I select a record from Table2, I display the fields in text boxes, and all looks fine there too.
The problem comes where I open a memo field in Table2, make a change (or not - it doesn't matter) and return to the form. The record pointer in Table2 has moved back to the first record that matches the cxurrent Table1 record. The same thing happens when I Alt-Tab to another screen, i.e. the Debugger and back to my form, the pointer in Table2 moves always back to the first record matching the current Table1 record.
Obviously, I want to retain my position in Table2, but can't work out how to do this. Anyone know what's going on?