jonthequik
Programmer
I'll start by saying that I've used Access for a while just as a more powerful Excel. I haven't tinkered with the VB side of it. I tried searching for the answer to this puzzle in the FAQs and in the forums, but didn't find exactly what I was looking for.
I have two tables. One that tracks items and another that tracks specifications on those items. Many of the specification records are duplicates.
What I build was a form that allowed me to enter the specs of the item, and in a sub-form enter the item itself. This way if I had multiple items that had the same specs, I could enter the specs once, and all of the items.
Now, I'd like to be able to enter the specs and have the form look to see if the each of the specs were already in the database before adding a new record. One way I thought to do this was to have a new field in the specs table that creates a checksum of some sort of each value in the specs table. That way if my form's checksum is the same as the records, it can just add relationship between the item and that record. Otherwise it needs to add a new specs record.
My problem is that I was told never to store calculations in a database. Also, my form updates on the fly, or as I tab into the next record, so is there a built in way to do this check before updating?
Now I
Jonathan Hannan
Computer Repair, Webdesign
HTML, CGI, PERL, JavaScript, XML
I have two tables. One that tracks items and another that tracks specifications on those items. Many of the specification records are duplicates.
What I build was a form that allowed me to enter the specs of the item, and in a sub-form enter the item itself. This way if I had multiple items that had the same specs, I could enter the specs once, and all of the items.
Now, I'd like to be able to enter the specs and have the form look to see if the each of the specs were already in the database before adding a new record. One way I thought to do this was to have a new field in the specs table that creates a checksum of some sort of each value in the specs table. That way if my form's checksum is the same as the records, it can just add relationship between the item and that record. Otherwise it needs to add a new specs record.
My problem is that I was told never to store calculations in a database. Also, my form updates on the fly, or as I tab into the next record, so is there a built in way to do this check before updating?
Now I
Jonathan Hannan
Computer Repair, Webdesign
HTML, CGI, PERL, JavaScript, XML