Hello,
I have IGrid 7.5 and on a Excel Form I have 2 buttons that each load a separate SQL query from our database (I'll call them Q1 and Q2). These queries then populate the IGrid. Both SQL queries have a number of field names that match the fieldnames. The weird thing is, when I run Q1, all fields are loaded correctly. If I then run the button of Q2 then the SQL is loaded, but all field names that are not in Q1 are blank while the SQL gives me data in MS Management Studio?
If I do it the other way around, first load Q2 I get to see all the fields again and when I then run Q1, it again only loads the query with the same field names as Q2 and the "new" fields based iin Q1 are blank again.
I've also tried applying iGridResults.Clear bRemoveCols = True but this doesn't solve the problem. So my question is is there another way to completely reset the IGrid for loading a complete new querie?
It looks like the IGrid keeps the field names or something in its memory?