Closing form and updating a form

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

I have a order form that has a button that lets me add another
Delivery address for the Account customer that is placing the order.

When i press the buttotn it opens up the forms and puts the AddressID
number on it and also the account number is related to

I how want a button on the Delivery address form that will close the
form and put the DeliveryID number into the frmOrder.DeliveyrNumber


Thanks
 
Simon,

Something like this?...

DoCmd.RunCommand acCmdSaveRecord
Forms!frmOrder!DeliveryNumber = Me.DeliveryID
DoCmd.Close acForm, Me.Name
 

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

Back
Top