forlano Messages: 1217 Registered: March 2006 Location: Italy
Senior Contributor
michael wrote on Wed, 23 May 2007 07:40
There is another problem.
I have defined an object of class1 with global scope:
class1 global;
Then i use it in class2 like this:
String a_string = global.datagrid.Get(1);
datagrid is a sqlarrayctrl and a member of class1.
But i can't get any data from the datagrid, a_string is always empty.
Any tips?
Michael
I've never used sqlarrayctrl. Anyway, are you sure you have correctly initialized class1 and populated datagrid?
Moreover, I suggest you to post your test package to easily catch the error.