Hi all:
I had posted in regular VB section and they pointed me here with my problem.
Hi all:
I don't know where else to post.
I need a SQL statement that will pull data from a Fox table between certain dates. Unfortunately, Between() in Fox is a key command.
This is what I have:
I've tried >= and <= to no avail.
Any help will be greatly appreciated.
Ron Repp
If gray hair is a sign of wisdom, then I'm a genius.
I had posted in regular VB section and they pointed me here with my problem.
Hi all:
I don't know where else to post.
I need a SQL statement that will pull data from a Fox table between certain dates. Unfortunately, Between() in Fox is a key command.
This is what I have:
Code:
SQL = "Set exclusive off; SELECT * FROM DAILY1.dbf WHERE [Date] BETWEEN CTOD ('" & sDate & "') AND CTOD ('" & eDate & "') AND Key = '" & Seg & "' "
''This give me an error
I've tried >= and <= to no avail.
Any help will be greatly appreciated.
Ron Repp
If gray hair is a sign of wisdom, then I'm a genius.