Here is my code:
select aa,bb,cc;
from dd;
group by aa,bb order by aa,bb;
INTO CURSOR SYS(2015)
DO (_GENXTAB) WITH 'Query',,,,,,,,,.t.
thisform.grdinvres.columncount = -1
thisform.grdinvres.refresh()
As you can see I have the following problems:
1. How can I insert the GENXTAB query to cursor?
2. When do I have to create the cursor for the grid\recordsource (If in the form/load, in this step I don't know the column count and the captions that I will get by the GENXTAB)?
Thanks in advance
Chaim
Thank you
Chaim