Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select query with between dates
Message
 
 
To
09/03/2004 14:15:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00884528
Message ID:
00884548
Views:
8
Raj,

Please show the rest of the code that actually makes use of what you are putting into the lcSQL memvar.

Are you getting a specific error?

>I am using the following, but the strt_dt and to_date is not carried over inside the query. for between date condition.
>################################################################
> strt_dt = date() - 7
>
> to_date = date()
>
> LcSQL = [select distinct(a.tiffile), b.proj_no, b.workpkg_no, b.docindex_i from ocrdata a, docudeck b ;
> WHERE UPPER(b.file_name) = UPPER(a.tiffile) ;
> and BETWEEN(a.created_dt, strt_dt , to_date) ;
> order by a.id into Cursor lcSource]
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform