hi, i have a problem with my grid, I try to populate my grid with select statement then I put another select statement in interactivechange of combobox to refresh the new data with different filter. What I got is my grid definition seems to be changed by visual foxpro ie. my column width is reset, my hilite row is reset as well.
on init event
SELECT col1,col2 from table1 into cursor mygrid.name
mygrid.recordsource = ALIAS()
on interactivechange
SELECT col1,col2 from table1 where col1.code = "AA" into cursor mygrid.name
mygrid.recordsource = ALIAS()
mygrid.refresh
the first select is ok, the second select resets my grid definition.
any ideas ?
on init event
SELECT col1,col2 from table1 into cursor mygrid.name
mygrid.recordsource = ALIAS()
on interactivechange
SELECT col1,col2 from table1 where col1.code = "AA" into cursor mygrid.name
mygrid.recordsource = ALIAS()
mygrid.refresh
the first select is ok, the second select resets my grid definition.
any ideas ?