Hello all,
I'm currently building a simple incoming package tracker.
My current issue is creating a "after update" validation rule off the Tracking number field that would determine the length needed based on the Courier choosen (Macro).
I have a incoming_tbl with a Courier dropdown as it relates to courier_tbl which is formated as follows:
CID Courier
1 FedEx
2 UPS
3 DHL
The Tracking Number field is within the incoming_tbl that also captures other collection data (Time, Date, Sign by, etc)
What I am looking to accomplish is when Courier is selected, depending on the type of courier the tracking field ensures the correct amount of characters are entered
i.e
FedEx 12
UPS 18
DHL 10
I've looked at various threads but didn't come across anything that changes the value of the field based on the dropdown selection; I've tried SetField and Len with no positive outcome as of yet; but I might be using it out of context.
Thanks for any quidance and/or assistance, greatly appreciated.
I'm currently building a simple incoming package tracker.
My current issue is creating a "after update" validation rule off the Tracking number field that would determine the length needed based on the Courier choosen (Macro).
I have a incoming_tbl with a Courier dropdown as it relates to courier_tbl which is formated as follows:
CID Courier
1 FedEx
2 UPS
3 DHL
The Tracking Number field is within the incoming_tbl that also captures other collection data (Time, Date, Sign by, etc)
What I am looking to accomplish is when Courier is selected, depending on the type of courier the tracking field ensures the correct amount of characters are entered
i.e
FedEx 12
UPS 18
DHL 10
I've looked at various threads but didn't come across anything that changes the value of the field based on the dropdown selection; I've tried SetField and Len with no positive outcome as of yet; but I might be using it out of context.
Thanks for any quidance and/or assistance, greatly appreciated.