Add a Recored to a form

S

Simon

I have my main form open frmDespatchSystem

I then have another form open ontop frmBarcode

When i close the frmBarcode scan i want it to add a new recored to
frmDespatchSytesm

I know to use the code DoCmd.GoToRecord , , acNewRec but how do i
get it to add new reoced to frmDespatchSystem when i am putting the
code on the frmBarcode close button

Tahnks

SImon
 
W

Wayne-I-M

Hi Simon

You don't need to do anything.

If you add a new record to frmDespatchSystem then it will open a new
(linked) record in frmBarcode (which I think is a popup form).
I assume you have some method of filtering frmBarcode so that it links to
the 1st form.
 
S

sluv

Simon said:
I have my main form open frmDespatchSystem

I then have another form open ontop frmBarcode

When i close the frmBarcode scan i want it to add a new recored to
frmDespatchSytesm

I know to use the code DoCmd.GoToRecord , , acNewRec but how do i
get it to add new reoced to frmDespatchSystem when i am putting the
code on the frmBarcode close button

Tahnks

SImon
 
M

maria blajan

Simon said:
I have my main form open frmDespatchSystem

I then have another form open ontop frmBarcode

When i close the frmBarcode scan i want it to add a new recored to
frmDespatchSytesm

I know to use the code DoCmd.GoToRecord , , acNewRec but how do i
get it to add new reoced to frmDespatchSystem when i am putting the
code on the frmBarcode close button

Tahnks

SImon
 

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