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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP and ODBC querying

Status
Not open for further replies.

jammer1221

Programmer
Jul 30, 2003
352
US
Hey all,

I've been working on this problem for a while and I finally figured out the exact problem.

I was having trouble updating a record from an access database (using ODBC to connect to it). it gave me not enough parameters (Error 071001).

I finally figured out that it was because some of my column names are I guess reserved keywords to the sql language (I'm not 100% sure about that).

Well my question is how I work around that? One I'm sure I have a problem with is pre. I have a column named pre and everytime I use a query with pre in it it gives the error. Whenever I don't, of course there is no error. I have no option to change the names of the Columns.

Thanks for ANY help anyone can give me. Even just a brainstorm will be helpful.

Thanks,

Matt
 
Hey guys, lol, I figured it out. It turns out it didn't have anything to do with what I thought it was. But I finally figured it out, and it all works now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top