Goto new record in Bound Form

E

Edward Harford

I have a bound data Form with "Add New" button - opening an Unbound Form.
Data is entered up and saved as new record to recordset which is then
closed.
Bound data form is then requeried.

I want to then go to the record in the original form that I have just added.

Any ideas gratefully received
Edward Harford
 
J

Jeff Boyce

Edward

Another approach would be to just use the <Add New> button to set the
DataEntry property to Yes on your bound form.
 
S

Simon Shaw

You could write the primary key of the new record to an unbound field on
your parent form (the bound one).
Then you might programatically move to that record after the requery.

Not sure why you are using two separate forms for this though? Are the
contents very different? Locking / unlocking individual fields from the
OnCurrent event might be easier.

Simon Shaw
Netfare
 

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