Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB to Oracle 8 via ODBC - .Count = 0 on collections of fields

Status
Not open for further replies.

andymcd

Programmer
Jul 30, 2001
3
GB
On just one user site, my VB(5) apps fail when trying to get Oracle(8) table details using a command like

iMaxSurnameLength = tTableDefCollection("TBLDAILY_STAFF").Fields("Surname").Size

Error is 3265 object not in this collection.

It turns out the .Count value for the Fields is always zero. Everything else (recordsets, directly executed SQL, running stored procedures) works fine! It's weird. I expect it's coincidence but this one site is running the apps under Citrix rather than direct on the user PC. As everything looks fine when querying through SQLplus, my suspicions are on the ODBC area. Has anyone else run into anything like this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top