A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

update second table



 
 
Thread Tools Display Modes
  #1  
Old September 12th, 2008, 09:42 PM posted to microsoft.public.access.tablesdbdesign
Xfree
external usenet poster
 
Posts: 46
Default update second table

I have a parts table and a inventory table, I would like to be able to update
the inventory table with the new part number when a new part number is added
to the parts table. How would I do this? I have the joins setup now and can
add a part number to the inventory table via a combo box.
  #2  
Old September 12th, 2008, 10:13 PM posted to microsoft.public.access.tablesdbdesign
Steve[_57_]
external usenet poster
 
Posts: 598
Default update second table

You should have tables like these:
TblPart
PartID
PartNumber
other part fields

TblPartInventory
PartInventoryID
PartID
PartInventory
other part inventory fields

Build a form/subform. Base the main form on TblPart and the subform on
TblPartInventory. Use this form to enter new parts. When you enter a new
part in the main form you will be able to simultaneously enter the inventory
of the new part i the subform.

BTW, there is a one to one relationship between a part and that part's
inventory. Consequently you can include part's inventory in TblPart and not
need TblPartInventory.

Steve




"Xfree" wrote in message
...
I have a parts table and a inventory table, I would like to be able to
update
the inventory table with the new part number when a new part number is
added
to the parts table. How would I do this? I have the joins setup now and
can
add a part number to the inventory table via a combo box.



  #3  
Old September 16th, 2008, 08:36 PM posted to microsoft.public.access.tablesdbdesign
Klatuu[_3_]
external usenet poster
 
Posts: 396
Default update second table

What is the difference between a part and an inventory item?

"Xfree" wrote in message
...
I have a parts table and a inventory table, I would like to be able to
update
the inventory table with the new part number when a new part number is
added
to the parts table. How would I do this? I have the joins setup now and
can
add a part number to the inventory table via a combo box.



  #4  
Old September 19th, 2008, 08:30 PM posted to microsoft.public.access.tablesdbdesign
Xfree
external usenet poster
 
Posts: 46
Default update second table

there is no difference they are one and the same but I am using a table for
inventory to track Pcs on hand of the part.

Sorry about the late delay, Hurricane issues.

"Klatuu" wrote:

What is the difference between a part and an inventory item?

"Xfree" wrote in message
...
I have a parts table and a inventory table, I would like to be able to
update
the inventory table with the new part number when a new part number is
added
to the parts table. How would I do this? I have the joins setup now and
can
add a part number to the inventory table via a combo box.




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.