Hello
Those of you who are following the rachel saga will be please to know I got my SQL statement working properly
However I save the results of the SQL statement to a cursor results.
On my form I have a grid. You can guess what is coming next
The grid does not refresh properly it goes blank until I shut the form down and then reopen it Then it has the results in it. I know there are a million and one replies to this kind of question but could somebody take me through it please I know it has to do with where I put my refresh but where do I stick it.
Please see below the code in my button
SELECT Testdetails.tst_stest, Testdetails.tst_shortdesc,;
Testdetails.tst_ntype, Testsetdetail.*;
FROM data1!testdetails INNER JOIN data1!testsetdetail ;
ON Testdetails.tst_stest = Testsetdetail.tsd_stestid ;
WHERE testsetdetail.tsd_sname=thisform.distinct_values_combo2.value ;
ORDER BY testsetdetail.tsd_sName, testsetdetail.tsd_iline ;
INTO CURSOR filterResults
Thisform.Grid1.refresh
Thanks
Rachel
Those of you who are following the rachel saga will be please to know I got my SQL statement working properly
However I save the results of the SQL statement to a cursor results.
On my form I have a grid. You can guess what is coming next
The grid does not refresh properly it goes blank until I shut the form down and then reopen it Then it has the results in it. I know there are a million and one replies to this kind of question but could somebody take me through it please I know it has to do with where I put my refresh but where do I stick it.
Please see below the code in my button
SELECT Testdetails.tst_stest, Testdetails.tst_shortdesc,;
Testdetails.tst_ntype, Testsetdetail.*;
FROM data1!testdetails INNER JOIN data1!testsetdetail ;
ON Testdetails.tst_stest = Testsetdetail.tsd_stestid ;
WHERE testsetdetail.tsd_sname=thisform.distinct_values_combo2.value ;
ORDER BY testsetdetail.tsd_sName, testsetdetail.tsd_iline ;
INTO CURSOR filterResults
Thisform.Grid1.refresh
Thanks
Rachel