Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update a record on a table from a subfrom

Status
Not open for further replies.

rogerarce

Technical User
Jan 24, 2002
57
CR
I have a form where I input products to inventory(Inventory). I have one table called products, where I input information of the
products. Both tables have a price field. Now, How can I update a price from "inventory" to "products"? Let's say
that coca cola has already a price ($0.50). I'd like to have the price changed only if different from the one already in database?.

Thanks in advance for your help.
 
I would think the ORDERS table should get the PRICE from the PRODUCTS table, and not be a separate field, unless the prices for the PRODUCT bear no real relation to the prices on the ORDER..

Codd's Rule #378 of Relational Databases: Never store the same piece of data in two separate places.

[2thumbsup]

78.5% of all statistics are made up on the spot.
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top