A
A_Classic_Man
Yup, you read it right, "97".
My employer assigned me to do a research project for him. I have used
Access some, but not much VBA. I have found many answers to my
questions by searching the MVP sites. So thanks for all the help.
I have a table (that is imported from Excel) with the following
fields: InvoiceNum, TruckNum, LeaveTime, ArriveTime, ArriveFirst (a
Yes/No Field).
I have set up a module that will let me pick 25 random invoice numbers
each month and place them in another table.
To that table I have added the following fields: TravelTime (which is
based on the expression:[ArrivalTime]-1[LeaveTime]),
TravelTime<10Min(which has the expression:
IIf([TravelTime]<"00:10:00","-1","0") ), and TravelTime<20Min(which
has the expression: IIf([TravelTime]<"00:20:00","-1","0") ).
There may be from 2 to 6 invoices with the same number with 2 to 6
corrisponding truck numbers and the corrisponding time fields. (IE 2
to 6 records with the same invoice numbers and corrisponding
information)
What I need to do is determine if the first truck to arrive for each
invoice number did so in 10 minutes or less and if all trucks with the
same invoice number arrived in 20 minutes or less.
Any help will be greatly appreciated.
If this is posted to the wrong group, sorry.
Ron
My employer assigned me to do a research project for him. I have used
Access some, but not much VBA. I have found many answers to my
questions by searching the MVP sites. So thanks for all the help.
I have a table (that is imported from Excel) with the following
fields: InvoiceNum, TruckNum, LeaveTime, ArriveTime, ArriveFirst (a
Yes/No Field).
I have set up a module that will let me pick 25 random invoice numbers
each month and place them in another table.
To that table I have added the following fields: TravelTime (which is
based on the expression:[ArrivalTime]-1[LeaveTime]),
TravelTime<10Min(which has the expression:
IIf([TravelTime]<"00:10:00","-1","0") ), and TravelTime<20Min(which
has the expression: IIf([TravelTime]<"00:20:00","-1","0") ).
There may be from 2 to 6 invoices with the same number with 2 to 6
corrisponding truck numbers and the corrisponding time fields. (IE 2
to 6 records with the same invoice numbers and corrisponding
information)
What I need to do is determine if the first truck to arrive for each
invoice number did so in 10 minutes or less and if all trucks with the
same invoice number arrived in 20 minutes or less.
Any help will be greatly appreciated.
If this is posted to the wrong group, sorry.
Ron