>IN THE TEST2 INIT FORM METHOD
>WITH THISFORM.Grid1
>* update the grid record / control source
> .RECORDSOURCE = THISFORM.tempfileAlias
> .column1.CONTROLSOURCE = exp1table1.fldnumber1
> .column2.CONTROLSOURCE = exp1table1.fldpet
>ENDWITH
Trimtrom,
Simply, add your table to the DataEnvironment, then either set the properties in the Properties Sheet or in code:
WITH THISFORM.Grid1
.RECORDSOURCE = exp1table1
.column1.CONTROLSOURCE = exp1table1.fldnumber1
.column2.CONTROLSOURCE = exp1table1.fldpet
ENDWITH