>Thank you for your advise.
>
>My form is very simple.Consists from one grid control and one button.In button
>i have one SELECT statement that populate the grid control.The sellect statement is:
> SELECT surname,name,city from table;
> WHERE alltrim(surname)=alltrim(upper(m.surn))
>In compilation does not generate any error.
I still don't uderstand what your problem is. Anyway, try
SELECT surname,name,city from table ;
WHERE surname = alltrim(upper(m.surn))
and let us now what exactly doesn't work.
--sb--