Go Back   CodingForums.com > :: Server side development > MySQL > Other Databases

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-20-2012, 01:51 PM   PM User | #1
eddyzhuo
New to the CF scene

 
Join Date: Oct 2011
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
eddyzhuo is an unknown quantity at this point
How to set Query Date Value to NULL

Hello every expert out there, I can not find a correct board. I am trying to update a CHECKED(DATE) field in the access Candidate table to a null value or a empty value or just simple clear the value of the field. I am keep getting a object required error 424.

Here is my code:
db.Execute ("UPDATE Candidate SET CHECKED="" WHERE ID=""" & [Form Data].Candidate_ID.value & """ AND SESSION=""" & [Form Data].Candidate_SESSION & """")

Please advice. Thank you so much!
eddyzhuo is offline   Reply With Quote
Old 01-24-2012, 04:01 PM   PM User | #2
eddyzhuo
New to the CF scene

 
Join Date: Oct 2011
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
eddyzhuo is an unknown quantity at this point
Sorry everyone, I figure it out myself. I forget to include db= currentDB; Haha. Have a wonderful day.
eddyzhuo is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:24 AM.


Advertisement
Log in to turn off these ads.