Hello !
I want my grid to be populated by a SQL statement; the code looks like this:
selectul = "Select firma, local, st, nr, bloc from firma into cursor cursorul"
with thisform.tabprinc.pag_rezult.grd_rezult
.recordsourcetype = 4 && SQL Statement
.recordsource = selectul
endwith
The problem is this: in the grid appear only the first 3 columns of 5 existing in the SQL statement; the gid is not set/forced to 3 columns only.
Thanks,
Salmano.
I want my grid to be populated by a SQL statement; the code looks like this:
selectul = "Select firma, local, st, nr, bloc from firma into cursor cursorul"
with thisform.tabprinc.pag_rezult.grd_rezult
.recordsourcetype = 4 && SQL Statement
.recordsource = selectul
endwith
The problem is this: in the grid appear only the first 3 columns of 5 existing in the SQL statement; the gid is not set/forced to 3 columns only.
Thanks,
Salmano.