Hello all, I have a problem that I can't figgure out and maybe you guys can help. I've been using the ODBC API (sql.h) in C++ to connect to a SQL database. Well, the interesting thing is that I can connect to the pubs DBC and execute a SQL statement and see how many columns are returned. Well, when I change it to a different DBC and execute the SQL statement I get error 42S02 (Base table or view not found) and I can't figgure out why. I've double and triple checked my SQL Statment...it's just a simple SELECT * FROM <table> and I KNOW the table is there. I have checked for errors for every step I take to connect to the SQL server and there are none whatsoever....except when I make the actual connection I get warning of 01000...but MSDN said that it was just a general warning so I shouldn't be too concerned about it. I'm just trying to figgure out why this would work for one DBC but not for another. Any suggestions? Thanks in advance!
Niky Williams
NTS Marketing Inc.
Niky Williams
NTS Marketing Inc.