Hi
Here is the code for MyForm.init :
DIMENSION a_omr(1,3)
use MyTable
i=0
SCAN
i=i+1
a_omr(i,1) = column1
a_omr(i,2) = column2
a_omr(i,3) = column3
ENDSCAN
thisform.grid1.column4.header1.caption = a_omr(1,1)
thisform.grid1.column5.header2.caption = a_omr(2,1)
thisform.grid1.column6.header3.caption = a_omr(3,1)
thisform.grid1.refresh
When I run the form the grid is blank as a white paper not even colums and rows are showing. What could be the problem?
In my table that the dimension() is applying to I only have one row and tree columns so that the user can type in the header caption by him self.
If you need more info just ask.
thanks
//Holm
Here is the code for MyForm.init :
DIMENSION a_omr(1,3)
use MyTable
i=0
SCAN
i=i+1
a_omr(i,1) = column1
a_omr(i,2) = column2
a_omr(i,3) = column3
ENDSCAN
thisform.grid1.column4.header1.caption = a_omr(1,1)
thisform.grid1.column5.header2.caption = a_omr(2,1)
thisform.grid1.column6.header3.caption = a_omr(3,1)
thisform.grid1.refresh
When I run the form the grid is blank as a white paper not even colums and rows are showing. What could be the problem?
In my table that the dimension() is applying to I only have one row and tree columns so that the user can type in the header caption by him self.
If you need more info just ask.
thanks
//Holm