C
Chris W via AccessMonster.com
Hi
Background
I am developing a job file database that, stores all the client data and the
job details. Now the job forms the transaction table with other peripheral
tables such as industry code ECT. The Database is to operate along with the
physical file which contains details of working notes and details which must
be kept for legal reasons.
Problem
This means that the primary key of the transaction field would ideally be the
number used in the existing physical filing system (as that can’t change).
This existing system is an alphanumeric sequential numbering system, i.e.
VPM001, VPM002, VPM003; the good news is that the “VPM” never changes so it
is only the numbers that are sequential.
I was able to find the following code in a previous post
=InvNum: “newinvoice’ & Format(Max(Val[Cnt#]))+1,“000”)
But I don’t know exactly what to do with it, wether I put it in an event code
for a field attached to the table via a form.
So if any one could help me that would be really good.
Background
I am developing a job file database that, stores all the client data and the
job details. Now the job forms the transaction table with other peripheral
tables such as industry code ECT. The Database is to operate along with the
physical file which contains details of working notes and details which must
be kept for legal reasons.
Problem
This means that the primary key of the transaction field would ideally be the
number used in the existing physical filing system (as that can’t change).
This existing system is an alphanumeric sequential numbering system, i.e.
VPM001, VPM002, VPM003; the good news is that the “VPM” never changes so it
is only the numbers that are sequential.
I was able to find the following code in a previous post
=InvNum: “newinvoice’ & Format(Max(Val[Cnt#]))+1,“000”)
But I don’t know exactly what to do with it, wether I put it in an event code
for a field attached to the table via a form.
So if any one could help me that would be really good.