Hey,
I have a bit of a query regarding a database for a shop.
Basically, I have 3 tables: one for customers, one for stock, and one for all the transactions. Each product on the stock table has its own unique serial number. There is also a tickbox field on the stock table, which indicated whether it has been sold or not.
I also have a new transaction form, where new transactions are written down. The user selects the product and customer from the list.
Is it possible, so that when a new transaction is saved, the database searches the stock sheet for that particular serial number, and ticks the sold box for that record?
I'm looking for any solution, preferably with as little code as possible, although I don't think that's possible, really!
Cheers for any help you can give!
Tom.
I have a bit of a query regarding a database for a shop.
Basically, I have 3 tables: one for customers, one for stock, and one for all the transactions. Each product on the stock table has its own unique serial number. There is also a tickbox field on the stock table, which indicated whether it has been sold or not.
I also have a new transaction form, where new transactions are written down. The user selects the product and customer from the list.
Is it possible, so that when a new transaction is saved, the database searches the stock sheet for that particular serial number, and ticks the sold box for that record?
I'm looking for any solution, preferably with as little code as possible, although I don't think that's possible, really!
Cheers for any help you can give!
Tom.