Add a Recored to a form

  • Thread starter Thread starter Simon
  • Start date Start date
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
 
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.
 
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
 
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
 
Back
Top