Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I ... ?
Message
From
13/12/2000 11:00:11
Melvin Sequera
M&H New World, C.A.
Fuenlabrada, Spain
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
How can I ... ?
Miscellaneous
Thread ID:
00452855
Message ID:
00452855
Views:
85
Hi everyone, I'm a new programer in VB, I have 5 years programming in VFP and now I'm trying to understand this another tool, so I'm experimenting some troubles on it.

I'm trying to create an ADO Recordset and when I want to assign it source property I put an SQL Statement like this:

"Select * from mytable where mytable.code = " & strcode & " and mytable.year & mytable.month >= intYear & intMonth"

When I say: myrecordset.open, VB send me an error message like:

"THE ODBC CONTROLLER DOESN´T HAVE SUPPORT TO THIS PROPERTIES"

In fact, I only want to know how can I obtain a set of records if Ii give to the SQL Statement a range of dates.

If any one can help me, I really appreciate.

Thanks in advance,

Melvin
Next
Reply
Map
View

Click here to load this message in the networking platform