list box selection

G

GeorgeMar

I have a Main form that contains a ListBox and a Subform.
The listbox determines what is displayed in the subform,
through Docmd.Applyfilter.

The Main form also contains a button that opens another
form which allows the user to create a new record for the
Main form's table.

When the user has created the new record, the user is
returned to the still opened Main form. What I want to do
is for the user to continue adding information into the
Main form's subform for the newly added record.

To do that I can ApplyFilter on the Main form for the new
record. The problem is how to get the ListBox to show the
selected row as that of the new record, i.e the one being
updated.


Many thanks

George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top