I have fooling around with an aircraft database i have created.
i have 4 fields
First Bag Away - first bag time off aircraft and sent to arrivals for pick passenger pick up
Last Bag Away - last bag time sent to arrivals
Inbound First Bag - first bag time that arrivals receives the bags off the aircraft
Inbound Last Bag - last bag time that arrivals receives the bags
Each airline has thier own criteria for baggage times. heres my problem, i have the solution and code in my head, but i cannot for the life of me get it in code, or at least get it right in VB
For british airways, the first bag MUST be received in Arrivals within 10 minutes of that plane being parked.
Lets say that British Airways flight 098 is parked at its servicing gate at 06:45am.
The first bag MUST be received by 06:55 am. if is not, than a field named lblTimesMet would read "First Bag Not received on time"
and the same thign for the last bag times, if the plane parked at, like i said 06:45am, than the LAST bag time would have to be(in British Airways case its within 50 minutes) 07:35am. if it is not met than a label would say "Last bag not recieved on time"
Ive tried doing this within queries, but could get it to work, and SL is a little beyond me, but im reading some tutorials.
If anyone has any help they can offer, or perhaps a link to a site with a similar code, could you please post the link? I have a basic understand of VB aswell, but within access, little different for me.
Thanks in advance.
Connor
i have 4 fields
First Bag Away - first bag time off aircraft and sent to arrivals for pick passenger pick up
Last Bag Away - last bag time sent to arrivals
Inbound First Bag - first bag time that arrivals receives the bags off the aircraft
Inbound Last Bag - last bag time that arrivals receives the bags
Each airline has thier own criteria for baggage times. heres my problem, i have the solution and code in my head, but i cannot for the life of me get it in code, or at least get it right in VB
For british airways, the first bag MUST be received in Arrivals within 10 minutes of that plane being parked.
Lets say that British Airways flight 098 is parked at its servicing gate at 06:45am.
The first bag MUST be received by 06:55 am. if is not, than a field named lblTimesMet would read "First Bag Not received on time"
and the same thign for the last bag times, if the plane parked at, like i said 06:45am, than the LAST bag time would have to be(in British Airways case its within 50 minutes) 07:35am. if it is not met than a label would say "Last bag not recieved on time"
Ive tried doing this within queries, but could get it to work, and SL is a little beyond me, but im reading some tutorials.
If anyone has any help they can offer, or perhaps a link to a site with a similar code, could you please post the link? I have a basic understand of VB aswell, but within access, little different for me.
Thanks in advance.
Connor
Last edited: