Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP - problem with DATE field
Message
De
12/12/2006 08:00:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
ASP - problem with DATE field
Divers
Thread ID:
01176801
Message ID:
01176801
Vues:
62
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform