Update ????

J

Jeff Uchtman

This command worked prior to "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
now it won't. Any help would be appreciated.

db.execute("update faq set count=count+1 where faqid=" &
request.querystring("faqid"))

Count is a field name in FAQ table in MS Access DB.
 
R

Ray at

Jeff Uchtman said:
This command worked prior to "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
now it won't. Any help would be appreciated.

Now it doesn't? What happens? Do you get an error?

db.execute("update faq set count=count+1 where faqid=" &
request.querystring("faqid"))

Count is a field name in FAQ table in MS Access DB.

It is also a reserved word. Bracket it as so:
"UPDATE faq SET [count]=[count]+1 WHERE faqid=" &
request.querystring("faqid")

Ray at home
 
J

Jeff Uchtman

Thanks Ray, thats what I suspected. Where can I locate a list of reserved
words for the "next time"

Jeff


Ray at said:
Jeff Uchtman said:
This command worked prior to "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
now it won't. Any help would be appreciated.

Now it doesn't? What happens? Do you get an error?

db.execute("update faq set count=count+1 where faqid=" &
request.querystring("faqid"))

Count is a field name in FAQ table in MS Access DB.

It is also a reserved word. Bracket it as so:
"UPDATE faq SET [count]=[count]+1 WHERE faqid=" &
request.querystring("faqid")

Ray at home
 
R

Ray at

Here you are.
http://aspfaq.com/2080

Ray at home

Jeff Uchtman said:
Thanks Ray, thats what I suspected. Where can I locate a list of reserved
words for the "next time"

Jeff


Ray at said:
Jeff Uchtman said:
This command worked prior to "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
now it won't. Any help would be appreciated.

Now it doesn't? What happens? Do you get an error?

db.execute("update faq set count=count+1 where faqid=" &
request.querystring("faqid"))

Count is a field name in FAQ table in MS Access DB.

It is also a reserved word. Bracket it as so:
"UPDATE faq SET [count]=[count]+1 WHERE faqid=" &
request.querystring("faqid")

Ray at home
 
J

Jeff Uchtman

Thank you kindly!

Jeff


Ray at said:
Here you are.
http://aspfaq.com/2080

Ray at home

Jeff Uchtman said:
Thanks Ray, thats what I suspected. Where can I locate a list of reserved
words for the "next time"

Jeff


Ray at said:
This command worked prior to "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source="
now it won't. Any help would be appreciated.

Now it doesn't? What happens? Do you get an error?


db.execute("update faq set count=count+1 where faqid=" &
request.querystring("faqid"))

Count is a field name in FAQ table in MS Access DB.

It is also a reserved word. Bracket it as so:
"UPDATE faq SET [count]=[count]+1 WHERE faqid=" &
request.querystring("faqid")

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,138
Messages
2,570,798
Members
47,347
Latest member
RebekahStu

Latest Threads

Top