I have two tables one to many relationship that I keep Phone card sales.
The Parent table has (PhoneName, SerialNo, FaceValus and QtyinBook) some books has 50 phone cards and some has 100 and others may have 25 in each book. The other table I keep daily sales for each day and it has these fields (SaleDate, PhoneName, SerialNo, FaceValue TicketNo, SoldOut) The TicketNo is the field that tels me where we are in the book and the SoldOut field is Yes or No. What I want is for example a book that has 100 phone cards when the TicketNo reaches 100 I want the SoldOut field to be automaticaly populated to YES. I have a form that I use to enter the daily sales.
Thanks
The Parent table has (PhoneName, SerialNo, FaceValus and QtyinBook) some books has 50 phone cards and some has 100 and others may have 25 in each book. The other table I keep daily sales for each day and it has these fields (SaleDate, PhoneName, SerialNo, FaceValue TicketNo, SoldOut) The TicketNo is the field that tels me where we are in the book and the SoldOut field is Yes or No. What I want is for example a book that has 100 phone cards when the TicketNo reaches 100 I want the SoldOut field to be automaticaly populated to YES. I have a form that I use to enter the daily sales.
Thanks