H
huzefahashim
Hi,
I am trying to make a database for invoices generated. Within each
invoice, is another table with the invoice details. Both tables are
linked. When a user enters data for an invoice, I would like the
subform (the invoice details) to enter the counter for each new
record.
For example, Invoice A has 3 items and Invoice B has 5 items. When the
user enters Invoice A and enters those 3 items within the form, there
is an autonumber which shows the numbers 1 to 3 (or more, if there are
more entries.
When the user starts entering data for Invoice B, the counter starts
from 4 (because there are already 3 items in the 'Invoice Details'
table. How can I set it to start the counter from 1 everytime a new
invoice is being created?
I am trying to make a database for invoices generated. Within each
invoice, is another table with the invoice details. Both tables are
linked. When a user enters data for an invoice, I would like the
subform (the invoice details) to enter the counter for each new
record.
For example, Invoice A has 3 items and Invoice B has 5 items. When the
user enters Invoice A and enters those 3 items within the form, there
is an autonumber which shows the numbers 1 to 3 (or more, if there are
more entries.
When the user starts entering data for Invoice B, the counter starts
from 4 (because there are already 3 items in the 'Invoice Details'
table. How can I set it to start the counter from 1 everytime a new
invoice is being created?