Can you post the line of code where the error occurs?
>I have a data class that is calling a method in my appmgr class to get a connection to an SQLserver. The object call works fine from the command prompt but when I do it from inside my data class I get an error message 'Invalid Subscript Reference'. I've tried the call with NewObject and createobject and I've tried it in VFP6 and VFP7. Same error every time.
>TIA.
Steve Gibson