G
Guest
Hi everyone,
I am very new in Access 2000 with little knowloedge about coding. Here's my
problem:
1. I have 2 tables - MachineMaster and MachineJobs.
2. MachineMaster determines whether a machine is available for job orders
posted in the MachineJobs table. Availability is determined by the Shift
Foreman.
4. Machines are coded as A1, A2, A3, A4, B1, B2, B3, B4 in fixed sequence.
3. MachineJobs is a list of Job Orders waiting to be assigned and processed.
The task is to create a SINGLE COMMAND BUTTON that will do the following
steps:
a. Determine the available machines in MachineMaster
b. Sort the the MachineJobs by date and check if Complete Date is null
(meaning job is still open)
c. Assign a Machine code in the fixed sequence A1, A2, A3..etc. to a
MachineJob.
e. Assign a Job number in sequence.. ex: Job-0001, Job-0002, Job-0003...
My question is: HOW DO I WRITE THIS IN VB CODE for the command button?
Please help and kindly be specific as I am only 2-days old with Access 2000.
Any help would be greatly appreciated.
I am very new in Access 2000 with little knowloedge about coding. Here's my
problem:
1. I have 2 tables - MachineMaster and MachineJobs.
2. MachineMaster determines whether a machine is available for job orders
posted in the MachineJobs table. Availability is determined by the Shift
Foreman.
4. Machines are coded as A1, A2, A3, A4, B1, B2, B3, B4 in fixed sequence.
3. MachineJobs is a list of Job Orders waiting to be assigned and processed.
The task is to create a SINGLE COMMAND BUTTON that will do the following
steps:
a. Determine the available machines in MachineMaster
b. Sort the the MachineJobs by date and check if Complete Date is null
(meaning job is still open)
c. Assign a Machine code in the fixed sequence A1, A2, A3..etc. to a
MachineJob.
e. Assign a Job number in sequence.. ex: Job-0001, Job-0002, Job-0003...
My question is: HOW DO I WRITE THIS IN VB CODE for the command button?
Please help and kindly be specific as I am only 2-days old with Access 2000.
Any help would be greatly appreciated.