Maybe you can use SET POINT TO '-' in the gotfocus() of the textbox, and SET POINT TO '.' in the lostfocus.
>Hello UT,
>
>I am trying to get some input functionality on my textbox.
>The textbox is on a form. Users will input an inspection number.
>The inspection number consiste of two fields in my table.
>
>The fields are inspnum and sequence. Both fields are integers.
>The inspection numbers looks like this :
>
>180115-2
>
>1345-1
>
>1809876-2
>
>The number after the dash character is the sequence number.
>
>I would like to have the following functionality :
>
>As users enter the number as soon as the key the dash then they can only input the sequence number. I gues is similar to entering money amounts, as soon as the enter the decimal point the input get formated and only can enter two decimals number.
>
>Any help is greatly appreciated.
>
>Thanks,
>Sergio