form/subform

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

I'm trying to get a child linking subform to take order
info ie. (price for standard and price for replacement
which is used to generate the price charged based on a
yes/no field in the subform line)from the main form but
the subform can't find the order number in the TBL-Orders
so it will not allow me to enter data because of error
#3101 entering data in the many side of a one to many
relationship. How can I get the order form to update the
table before going into the subform. Or is this not
possible.
 
How can I get the order form to update the
table before going into the subform. Or is this not
possible.

What is the subform a subform OF? Typically one would enter the Order
on the main form, and this information on the subform, using the
OrderID as the master/child link field. Access will save the mainform
record the instant you set focus to the subform - no code needed.
 

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

Similar Threads

Access Main form/Subform Navigation 0
Get Subform Data 1
Query - Table 3
Access Reference Subform's Control 0
Main Form and two Subforms 2
Access Daily Entry with multiple entries per field 0
Calculate values on the fly? 1
Form/Subform “value isn't valid†1

Back
Top