>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
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst