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

Syntax Error

Status
Not open for further replies.

svsuthar1

Programmer
Jul 6, 2004
135
US
Can I know what I am missing in the following line of code

& "WHERE fldDate Between #" & strStartDate & #" and #" & strEndDate & #" _
 
Code:
& "WHERE fldDate Between #" & strStartDate & [red]#"[/red] and #" & strEndDate & [red] #"[/red] _

Code:
& "WHERE fldDate Between #" & strStartDate & [blue]"#[/blue] and #" & strEndDate & [blue]"#[/blue] _

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook

 
Thanks mwolf00 I really appreciated. I should have tried all the combination. I know it was with "#" signs I was not doing it correctly.

Thank you very much.

Samir
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top