Hello and Thanks in advance for any help.
I have been tasked with rewriting a christmas assistance database
using Access 2003. The old system used pre-assigned case numbers to
identify applicants applying for assistance (with a specific date and
time).
I have created an applicant table and form, PK is an autonumber,
CaseNbr is long integer, applicant name/address etc.
I have created a case number table, PK is autonumber, case number is
long integer, appt date/time as date time fields and an assigned date
as date field.
I need to look up the first unassigned case number, assgn this case
number, date/time to the applicant and then mark this case number as
assigned.
I can look up the case number in a query using first in the total row,
but cannot figure out how to generate the code to do the updates and
call everything with a command button.
I did something similar using DMAX for a batch number, but didn't have
to save any info, this scenario needs to use the preassgned numbers.
Any help would be greatly appreciated.
Liz
I have been tasked with rewriting a christmas assistance database
using Access 2003. The old system used pre-assigned case numbers to
identify applicants applying for assistance (with a specific date and
time).
I have created an applicant table and form, PK is an autonumber,
CaseNbr is long integer, applicant name/address etc.
I have created a case number table, PK is autonumber, case number is
long integer, appt date/time as date time fields and an assigned date
as date field.
I need to look up the first unassigned case number, assgn this case
number, date/time to the applicant and then mark this case number as
assigned.
I can look up the case number in a query using first in the total row,
but cannot figure out how to generate the code to do the updates and
call everything with a command button.
I did something similar using DMAX for a batch number, but didn't have
to save any info, this scenario needs to use the preassgned numbers.
Any help would be greatly appreciated.
Liz
Comment