Geoff Codd
Registered User.
- Local time
- Today, 17:42
- Joined
- Mar 6, 2002
- Messages
- 190
I've got the following piece of code which selects an input mask based on the customer order type
Select Case Me!CustomerOrderType
Case 1
' Set Order / Survey Number Input Mask based on Order Type
Me!OrderSurveyNumber.InputMask = "E-0000000;0;_"
Case 2
Me!OrderSurveyNumber.InputMask = "P-0000000;0;_"
End Select
The code works fine for case 1, as the number is supplied to us from an outside company. The problem is with case 2 where I need the Order Survey Number to act like an auto number field.
Thanks in advance
Select Case Me!CustomerOrderType
Case 1
' Set Order / Survey Number Input Mask based on Order Type
Me!OrderSurveyNumber.InputMask = "E-0000000;0;_"
Case 2
Me!OrderSurveyNumber.InputMask = "P-0000000;0;_"
End Select
The code works fine for case 1, as the number is supplied to us from an outside company. The problem is with case 2 where I need the Order Survey Number to act like an auto number field.
Thanks in advance