C
CJ
Hi Groupies:
I am tracking inventory and need to keep a record of where a piece of
equipment has been and where it is now.
I have a query, qryInventoryTracking, that allows me to select a piece of
equipment and assign it to a Customer. If equipment is assigned to a
Customer it is not available for other records. However, when the equipment
is returned to us, I need to keep a history of where it has been but make it
available back in the inventory
So, I need this to happen:
Date Equip Location
June 6, 2008 Item 1 Customer A
July 12, 2008 Item 1 Inventory
August 3, 2008 Item 1 Customer W
March 9, 2009 Item 1 Inventory
I was thinking of putting in a ysnInventoryReturn check box on my form. When
it is selected, the current record becomes locked and a new record for this
item is created with the location set as inventory.
Can somebody please help me with the "a new record for this item is created
with the location set as inventory" part? I know it would be the after
update event but how do you copy the correct record and set it's location?
I am tracking inventory and need to keep a record of where a piece of
equipment has been and where it is now.
I have a query, qryInventoryTracking, that allows me to select a piece of
equipment and assign it to a Customer. If equipment is assigned to a
Customer it is not available for other records. However, when the equipment
is returned to us, I need to keep a history of where it has been but make it
available back in the inventory
So, I need this to happen:
Date Equip Location
June 6, 2008 Item 1 Customer A
July 12, 2008 Item 1 Inventory
August 3, 2008 Item 1 Customer W
March 9, 2009 Item 1 Inventory
I was thinking of putting in a ysnInventoryReturn check box on my form. When
it is selected, the current record becomes locked and a new record for this
item is created with the location set as inventory.
Can somebody please help me with the "a new record for this item is created
with the location set as inventory" part? I know it would be the after
update event but how do you copy the correct record and set it's location?