B bunji Registered User. Local time Today, 18:39 Joined Apr 26, 2005 Messages 124 Oct 7, 2005 #1 I have changed the inputmask of a field based on an if statement. however i put / characters in place and it wont leave them there can anyone help. Me.txtbox = "AAAAA/AAA/AA"
I have changed the inputmask of a field based on an if statement. however i put / characters in place and it wont leave them there can anyone help. Me.txtbox = "AAAAA/AAA/AA"
ghudson Registered User. Local time Today, 13:39 Joined Jun 8, 2002 Messages 6,194 Oct 7, 2005 #2 What do you want the input mask to do? What do you want it to force the user to key? / are usually with date.
What do you want the input mask to do? What do you want it to force the user to key? / are usually with date.
B bunji Registered User. Local time Today, 18:39 Joined Apr 26, 2005 Messages 124 Oct 7, 2005 #3 I already have Me.AF_Approval.InputMask = "AAAAA/AAA/AA" But when the user exits the field it goes to AAAAAAAAAA I would like to keep the foward slashes.
I already have Me.AF_Approval.InputMask = "AAAAA/AAA/AA" But when the user exits the field it goes to AAAAAAAAAA I would like to keep the foward slashes.
ghudson Registered User. Local time Today, 13:39 Joined Jun 8, 2002 Messages 6,194 Oct 7, 2005 #4 Put this in the input mask field Code: AAAAA/AAA/AA;0;_ The ;0 means that you want to store the slashes in the table. The ;_ is the place holder the user will see when they are typing in the field. Code: AF_Approval.InputMask = "AAAAA/AAA/AA;0;_" That extra info is in the help section for input masks.
Put this in the input mask field Code: AAAAA/AAA/AA;0;_ The ;0 means that you want to store the slashes in the table. The ;_ is the place holder the user will see when they are typing in the field. Code: AF_Approval.InputMask = "AAAAA/AAA/AA;0;_" That extra info is in the help section for input masks.
B bunji Registered User. Local time Today, 18:39 Joined Apr 26, 2005 Messages 124 Oct 7, 2005 #5 Thanks that worked
ghudson Registered User. Local time Today, 13:39 Joined Jun 8, 2002 Messages 6,194 Oct 7, 2005 #6 you are welcome