Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I ... ?
Message
 
To
13/12/2000 11:00:11
Melvin Sequera
M&H New World, C.A.
Fuenlabrada, Spain
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Miscellaneous
Thread ID:
00452855
Message ID:
00453050
Views:
26
>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.

Can you show us more complete code?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform