Asset Tracking: Disposals of Stock

V

VT

Hello

I have a fairly conventional demo stock tracking database, where each loan
is handled by a form and subform based on a loan header table and a loan
details table.

How do I handle the situation where a demo unit is kept permanently by the
borrower? I need to remove the demo unit in question but each piece of stock
has many related records in the loan details table, which cannot be deleted.

Many thanks

VT
 
J

John Spencer MVP

Add a NoLongerAvailable field to the table where the unit is recorded. The
field can be a simple yes/no field or it can be a text field where you list
the reason or a date field where you input the date when the unit was lost,
stolen, broken, retired from service, etc.

Now you just check to see if the field is null (or false if you use a yes/no
field) to decide if the unit is available for use.

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
 
F

Fred

The simplest method would be to put a field in there that says that, and have
your views not show those that are gone permanently.
 
S

Steve

I can't say specifically without seeing the design of your tables. But if
your tables are normalized, you just need to set Cacade Delete in the
relationship and when you delete a demo unit, all related records in the
loan details table will be automatically deleted.

Steve
(e-mail address removed)
 
V

VT

Steve,

I don't want the loan details deleted, I just need to show that an item has
been disposed of but the asset's history must remain.
 

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

Demonstration Stock Tracker 1
Demo Stock Tracker 1
Forms & Subforms to Edit Records 0
Linking 2 One to Many tables 5
stop duplicate request 11
Normalised Stock Table 8
Embeded Forms 11
Lending Library Records 4

Top