Question : VBA insert statement syntax for boolean value

ARGGGGGG!!!!!!!!

Why am i prompt for the value of bitActive witht he following statement? Ive tried True, yes, 'yes', and -1.

        DoCmd.RunSQL ("delete tblKeyDates.* FROM tblKeyDates WHERE intParentID = intParentID AND bitActive ='yes' ; ")

Thanks

Tim

Answer : VBA insert statement syntax for boolean value

OK - silly question. What is bitActive? Is it a Boolean in the table - if so, delete the ='yes' at the end of the sentence.

If not, what is it?
Random Solutions  
 
programming4us programming4us