Hi everyone,
I have this code
Dim ID As Long
ID = QuoteID
DoCmd.GoToRecord , , acNewRec
location = DLookup("location", "tblSeller", "QuoteID=" & ID)
UserFK = DLookup("UserFK", "tblSeller", "QuoteID=" & ID)
cmdClose.SetFocus
works really well. It opens a new record using the values in the specific fields.
I would like to open a different form and use values from another form.
I have a Seller table that is really big so I have to be careful how I use it or it will lockup.
I have a form on the sellers table that looks up the seller I need. I sometimes have to use the address to find right seller
What I want to do is find the seller, name, address, phone and copy that to a new record in frmTicket. frmTicket allows me to add what the seller is selling today.
Both forms are connected to my sellers table.
I have this code
Dim ID As Long
ID = QuoteID
DoCmd.GoToRecord , , acNewRec
location = DLookup("location", "tblSeller", "QuoteID=" & ID)
UserFK = DLookup("UserFK", "tblSeller", "QuoteID=" & ID)
cmdClose.SetFocus
works really well. It opens a new record using the values in the specific fields.
I would like to open a different form and use values from another form.
I have a Seller table that is really big so I have to be careful how I use it or it will lockup.
I have a form on the sellers table that looks up the seller I need. I sometimes have to use the address to find right seller
What I want to do is find the seller, name, address, phone and copy that to a new record in frmTicket. frmTicket allows me to add what the seller is selling today.
Both forms are connected to my sellers table.