I need to create a customized PID in VBA(MS ACCESS).
For example, a user at a hospital wants to enter a blood test for a patient. The user clicks on a form and submits blood test information. I want to create and store a customized PID(or label) that looks like this: BEQ001G01; BEQ001G02; BEQ001G03... BEQ0010G0n. So 01 would be the first entry. Next time it would be 02 and so on. Each PID is based on the previous ID. The BEQ portion can be based on some field from other table, example patient table.
I am new very new in VBA and any help would great!
Tnxs
M
For example, a user at a hospital wants to enter a blood test for a patient. The user clicks on a form and submits blood test information. I want to create and store a customized PID(or label) that looks like this: BEQ001G01; BEQ001G02; BEQ001G03... BEQ0010G0n. So 01 would be the first entry. Next time it would be 02 and so on. Each PID is based on the previous ID. The BEQ portion can be based on some field from other table, example patient table.
I am new very new in VBA and any help would great!
Tnxs
M