>I have a form with a textbox and a grid
>the source of the grid its a table thah vave to fields ladate (typoe date) and lavalue(numeric)
>
>i wanna set filter the table by te value that i put in the textbox
>
>(the textbox its configured like date ( / /))
> so i write in the lostfocus of it...
>
>sele latable
>set filter to
>set filter to ladate=this.value
>thisform.refresh
>
>whe i run the form and put a date in the textbox (and the event lostfocus occurrs).. the program show and error compatybily between operands
>
>i try with dtoc, ctod val str etc in many ways but i dont know why it happens
>
>can anybody explain me this situation
>
>Tnx
Your textbox should be initialized as date type, i.e. you should issue This.Value={} in Tetxbox.Init or directly in property sheet.
Edward Pikman
Independent Consultant