hi,
if press 1 at mylist it get 10 press again get 11...etc
but i need bill=1
thanks
>
>hi,
>>syntax error
>>>>hi all,
>>>>i try via procedure valid to do this statment to get 1,2 ...11,12....
>>>>if i press at number 1 at mykeybord i see at my textbox and mylist number 10, but i need to see number 1 as example
>>>>this the statment i try
>>>>>>>>thisform.text1.Value=val(this.value)
>>>>
>>>>thanks.>>>
>
>Mohammed, try this
>
thisform.text1.Value=IIF(VARTYPE(this.value)="C",val(this.value),This.Value)
>
>First time the value is Char but next time the value is alawys N