omer123456
Jul 23 2009, 01:39 PM
I have 2 tables
Table 1 is bought items
Item # Barcode #
---------------------------------
Glove 2458
Biscuit 321
Glass sdf254
Table 2 is sold items
Item # Barcode #
---------------------------------
Glove 2458
When I scan an items barcode # as sold into table 2, I would like Access to delete "automatically" that item from table 1. Is that possible?
Thx
Omer
dannyseager
Jul 23 2009, 01:45 PM
I wouldn't actually delete the record.. add a field in table 1 called "deleted" and then update it.
When the barcode is scanned the barcode number will be read into access... you can then use an update query to mark the record as deleted.
omer123456
Jul 23 2009, 01:49 PM
Hi,
Can you clarify how to "you can then use an update query to mark the record as deleted."
Is it possible to give me a step by step on how to create an update qry fo rthe simple example above. ............ Everything I have learned in access is self-taught or through this forum.
omer123456
Jul 23 2009, 02:10 PM
OK I added a field in table 1 "Deleted"
Then I went in qry (Created from table 1)............. Changed the qry type to update qry.............. Its runs but who knows what it is updating?
Can I post and you can look?
Thx
trek46
Jul 23 2009, 02:17 PM
omer123456,
I think the other thread is what you need here. It will fix both problems.
omer123456
Jul 23 2009, 02:23 PM
OK I hope so ............. I hope the file attached properly
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.