Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP - problem with DATE field
Message
From
12/12/2006 08:00:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
ASP - problem with DATE field
Miscellaneous
Thread ID:
01176801
Message ID:
01176801
Views:
61
Hi everyone!

I am having the issue with date field while accessing VFP table from ASP (thru VBScript). The following statement

SELECT * FROM tblAbc WHERE trans_date => ‘11/21/2006’ AND trans_date <= ‘11/27/2006’

returning an error

“ODBC driver does not support the requested properties”

Connection to the table:
------------------------------------
set cn = Server.CreateObject("ADODB.Connection")
cDatabasePath = Server.MapPath("/DATA")
connstr = "Driver={Microsoft Visual FoxPro Driver}; UID=;SourceDB="&cDatabasePath&";SourceType=DBF;"
cn.Open connstr

adOpenStatic = 3
Set rs = CreateObject("ADODB.Recordset")
------------------------------------

I would appreciate any input
Next
Reply
Map
View

Click here to load this message in the networking platform