spectraflame
Well-known Member
- Joined
- Dec 18, 2002
- Messages
- 830
- Office Version
- 365
- Platform
- Windows
I have a table (tblWorkOrders) that contains records with a WOType like the following:
L04 - 00001
M04 - 00001
L04 - 00002
M04 - 00002
E04 - 00001
E04 - 00002
E04 - 00003
W04 - 00001
I would like to be able to create buttons that when clicked would take me to the next or previous record based on the beginning letter of the WOType field.
Based on the data above, If I had the L04 - 00002 record open and I clicked the next button, a message would pop up saying something like "There are no more additional records" but if I clicked the previous button once, I would then see the L04 - 00001 record. Then if I clicked the previous button again, a message would pop up saying something like "This is the first record for this department".
Matthew
L04 - 00001
M04 - 00001
L04 - 00002
M04 - 00002
E04 - 00001
E04 - 00002
E04 - 00003
W04 - 00001
I would like to be able to create buttons that when clicked would take me to the next or previous record based on the beginning letter of the WOType field.
Based on the data above, If I had the L04 - 00002 record open and I clicked the next button, a message would pop up saying something like "There are no more additional records" but if I clicked the previous button once, I would then see the L04 - 00001 record. Then if I clicked the previous button again, a message would pop up saying something like "This is the first record for this department".
Matthew