Struggling to get to a second form passing data

B

Brian C

Struggling!

I have a form where I select a specific record from Table
1 and check a field. If it is a certain value then I want
to link to another form and get the user to enter details
that create a record on Table 2. I then want to take the
key field (an Autonumber) of this record written to Table
2 and overwrite the field I checked on Table 1!

How do I do this? What code do I need and where do I put
it?

I think I just want to get to form2 taking the data from
form1 and then execute some SQL using DoCmd but what do
you suggest?

I assume I need to hold on to the original record so that
nobody else grabs it in the meantime.
 

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