Jan,
If you are running the SQL in a method (grid init(), form load() etc.) then set your RecordSourceType to "Alias". Only use 4-SQL if you actually place the SQL code in the RowSource.
HTH
Barbara
>I 've got very simple problem. In my form is some grid and I would like to show in this grid answer of my local select.
>In my opinion I should set the RecordSourceType property to 4- SQL
>STATEMENT but this Grid shows first opened table and not my query.
>
>Can you help me? Jan Schwabik