hi everyone..
i read on another forum that it is possible to define multiple input masks for a textbox (for example).
There is a textbox field where you can enter the name of a machine.
The user should only have two possibilities:
HOSTx-xxx vba: HOST9-99C ? like HOST2-45 or HOST9-245
(C can be 'nothing', right or not?)
or
SRV000xxx like SRV000105
So how can i combine two input masks?
The following is not working..
Another question: how can I force the text HOST or SRV000?
Thanks
i read on another forum that it is possible to define multiple input masks for a textbox (for example).
There is a textbox field where you can enter the name of a machine.
The user should only have two possibilities:
HOSTx-xxx vba: HOST9-99C ? like HOST2-45 or HOST9-245
(C can be 'nothing', right or not?)
or
SRV000xxx like SRV000105
So how can i combine two input masks?
The following is not working..
Code:
Me.txt_computer.InputMask = "HOST9-99C;;_" Or "SRV000999;;_"
Thanks
Comment