Set the Format property of the control for which you enter the values via the keyborad to 'K'
>wher ,at mylist , i miss understand
>thanks
>>Set the Format property of the control to 'K'
>>
>>>thisform.text1.Value numeric
>>>via procedure interactive change
>>>i try to get this.value form mylist as under
>>>but if try to inset 1 it get 10..
>>>
>>>SELECT DISTINCT billno FROM mstr INTO CURSOR MyCursor
>>>ThisForm.List1.RowSourceType= 6
>>>ThisForm.List1.RowSource = "MyCursor"
>>>
>>>
>>>>Is this.value numeric or text?
>>>>Is thisform.text1.Value numeric or text?
>>>>
>>>>>hi,
>>>>>i get error message
>>>>>Function argument value, type, or count is invalid
>>>>>
>>>>>>Depends on whether you have numeric or text values.
>>>>>>
thisform.text1.Value=str(this.value)
>>>>>>or
>>>>>>
thisform.text1.Value=this.value
>>>>>>>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.