
Originally Posted by
swat
Good afternoon all:
If this should be in the forms category I apologize.
I am looking for some help with a db from Access '10 that I have been working on. For some reason it shows as an access 07 file in the title bar, but thats not the issue. In the db, there are two tables in particular that are more important than the others. I am tracking the usage of one material by using a form to create a new record on the usage log table and also to update the appropriate record in the inventory table to show the current inventory after the record is created. To do this I have an update query that runs when the add record button is pushed on the form.
Here is the issue. Some people are not as careful as others when weighing or documenting the weight of the material that is used. I would like for the form to recognize that the starting weight field on the form does not match the current weight field of the inventory table. The two are related by another field on the form that is the primary key for the inventory table. Once it recognizes this, I would like it to inform the user that the numbers are not right. It also needs to prevent the adding/updating of records on both tables if possible.
I can upload the db to look at if you would prefer. Also, on a side note, for some reason, a calculated field that I have set to double and 1 decimal place comes up with a 10digit decimal on occasion. ie, 61.1(field 1) - 60.9(field 2) = .20000000006 .
Thank you in advance for your time.
V/R
Shawn