Click to See Complete Forum and Search --> : problem converting standard asp to chilisoft asp


Bill Crawley
April 30th, 2004, 05:50 AM
the following code :
if not openconnection(connobj(0) ........

where openconnection opens an adodb connection string and connobj(0) should be the connection object.

Within openconnection the connection is made and I have a valid object. However returning from the routine and the object seems lost.

i.e.
response.write connobj(0).state error's with object required. If I change code to....

if not openconnection(connobj ....... removing the index, my

response.write connobj.state works. Removing passing array's will mean a heap of code changes and a change in the deisign, has anybody any better ideas