Form/subform linked field update

M

Mary

An order is linked to its details via subform field
Ordernum. This order # is temporary and needs to be
updated at a later time. How can I have the order number
change on the main form and that number correspondingly
change on the subform (retaining all other data)?
 
A

Allen Browne

Open the relationships window: Tools | Relationships.

Double-click the line joining the 2 tables (Order and OrderDetail
presumably).

Check the box for:
Cascading Updates

Now if you change the OrderNum on the main form, the new value will cascade
to the related records in the OrderDetail table.
 
D

Doreen Kelly

An order is linked to its details via subform field
Ordernum. This order # is temporary and needs to be
updated at a later time. How can I have the order number
change on the main form and that number correspondingly
change on the subform (retaining all other data)?
How do I delete old email from you?
Doreen
 

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