L
LeslieJ via AccessMonster.com
I have a combo box that selects a type of document, and then I have the
following select case code to determine how the doucment number input mask is
shown:
Select Case Me.[Document Type].Value
Case "1"
Me.[Document Number Text Box].InputMask = "SOP 00 000"
Case "2"
Me.[Document Number Text Box].InputMask = "COP 00.000"
Case "8"
Me.[Document Number Text Box].InputMask = "CS00 000W"
Case "28"
Me.[Document Number Text Box].InputMask = "T00 000A"
Case "29"
Me.[Document Number Text Box].InputMask = "T00 000B"
Case "30"
Me.[Document Number Text Box].InputMask = "T00 000T"
Case Else
Me.[Document Number Text Box].InputMask = ""
End Select
My problem is for example, Case 8 - the C does not appear because it is
already a character in the syntax available for creating input masks. I need
it to actually include the letter C as part of the input mask, I don't want
it to mean "entry of any character or space optional."
Any suggestions will be greatly appreciated!
Thank you in advance!
following select case code to determine how the doucment number input mask is
shown:
Select Case Me.[Document Type].Value
Case "1"
Me.[Document Number Text Box].InputMask = "SOP 00 000"
Case "2"
Me.[Document Number Text Box].InputMask = "COP 00.000"
Case "8"
Me.[Document Number Text Box].InputMask = "CS00 000W"
Case "28"
Me.[Document Number Text Box].InputMask = "T00 000A"
Case "29"
Me.[Document Number Text Box].InputMask = "T00 000B"
Case "30"
Me.[Document Number Text Box].InputMask = "T00 000T"
Case Else
Me.[Document Number Text Box].InputMask = ""
End Select
My problem is for example, Case 8 - the C does not appear because it is
already a character in the syntax available for creating input masks. I need
it to actually include the letter C as part of the input mask, I don't want
it to mean "entry of any character or space optional."
Any suggestions will be greatly appreciated!
Thank you in advance!