D
DENNIS BROWN
Hi,
I need to get a range of dates and store them, and I'm using MAPITable with ExecSQL, but I'm stuck on Start property processing.
What is the correct format when I'm searching for a string within a stored field?
For example, if I retrieve the Start property of an appointment, I get 6/27/2007.
How do I pass that in the SQL string as the first point in my search, and increment it by 10 days as the end point in my search?
Example of what I'm trying to do is
(MyStartPointDate contains "6/27/2007" and MyEndPointDate contains "7/7/2007")
ExecSQL("Select Start From Folder Where Start => MyStartPointDate AND Start =< MyEndPointDate")
Since the Start might contain something like "6/27/2007 9:30:00", how do I get the SQL to use just the date portion, or will it find any date containing the date stored in MyStartPointDate?
What does it do, just search for the literal string stored?
I need to get a range of dates and store them, and I'm using MAPITable with ExecSQL, but I'm stuck on Start property processing.
What is the correct format when I'm searching for a string within a stored field?
For example, if I retrieve the Start property of an appointment, I get 6/27/2007.
How do I pass that in the SQL string as the first point in my search, and increment it by 10 days as the end point in my search?
Example of what I'm trying to do is
(MyStartPointDate contains "6/27/2007" and MyEndPointDate contains "7/7/2007")
ExecSQL("Select Start From Folder Where Start => MyStartPointDate AND Start =< MyEndPointDate")
Since the Start might contain something like "6/27/2007 9:30:00", how do I get the SQL to use just the date portion, or will it find any date containing the date stored in MyStartPointDate?
What does it do, just search for the literal string stored?