stanmurphy
Technical User
- Oct 14, 2000
- 89
Hello all,
I have a form with a grid. The recordsource for the grid is a
SQL statement. RecordsourceType is set to SQL Statement.
The SQL statement is:
Select x.clientid, x.apptdate, x.appttime, y.counname, x.appttype from appointments x left join counsellor y on x.counname = y.counname where x.clientid=m.clientid noconsole
In the Init of the form I have:
thisform.grdAppoint.recordsource=" "
to refresh the grid each time the form is run.
When I DO the form, I get a browse window showing the SQL results overlaying the form, and when I ESC from the browse, the grid is empty (rows and columns but no results).
What am I doing wrong?
I have a form with a grid. The recordsource for the grid is a
The SQL statement is:
Select x.clientid, x.apptdate, x.appttime, y.counname, x.appttype from appointments x left join counsellor y on x.counname = y.counname where x.clientid=m.clientid noconsole
In the Init of the form I have:
thisform.grdAppoint.recordsource=" "
to refresh the grid each time the form is run.
When I DO the form, I get a browse window showing the SQL results overlaying the form, and when I ESC from the browse, the grid is empty (rows and columns but no results).
What am I doing wrong?