Steve-vfp9user
Programmer
Hello
I have created a form with multiple fields from a table called STOCKBOOK
On that form I have placed a grid (grdExps) which is populated with columns from a table called EXPS
The table's linkmaster is STOCKBOOK and recordsource is EXPS
This works absolutely fine and shows the main record in table STOCKBOOK with any links to the EXPS (expenses) table by a field called STOCKURN.
If I have a single grid on a form, it is easy to issue SET ORDER TO (whatever index tag) but as the grid is a child table (i think that's how you describe it), how do I set the index for the EXPS table grid such as SET ORDER TO EXPDATE DESC
I tried the grids's Childorder in the grids property but that doesn't work and also the grids INIT but that didn't work either.
Any guidance would be very much appreciated.
Thank you
Steve Williams
VFP9, SP2, Windows 10
I have created a form with multiple fields from a table called STOCKBOOK
On that form I have placed a grid (grdExps) which is populated with columns from a table called EXPS
The table's linkmaster is STOCKBOOK and recordsource is EXPS
This works absolutely fine and shows the main record in table STOCKBOOK with any links to the EXPS (expenses) table by a field called STOCKURN.
If I have a single grid on a form, it is easy to issue SET ORDER TO (whatever index tag) but as the grid is a child table (i think that's how you describe it), how do I set the index for the EXPS table grid such as SET ORDER TO EXPDATE DESC
I tried the grids's Childorder in the grids property but that doesn't work and also the grids INIT but that didn't work either.
Any guidance would be very much appreciated.
Thank you
Steve Williams
VFP9, SP2, Windows 10