Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL syntax problems w/ OLEDB provider?
Message
From
27/04/2004 09:12:26
 
 
To
27/04/2004 09:03:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00898465
Message ID:
00898481
Views:
11
Ok... I am past the previous errors but now I have something new. The error states that either BOF or EOF is true. Requested operation requires a current record.

Some food for thought. StartTime in my table is in the form 04/25/2004 09:15:00 AM

Neil

>>>
>>>
>>>xStartTime = "^2004/04/25 07:00"
>>>xEndTime   = "^2004/04/25 17:00"
>>>mySQL =  "SELECT * from meetings WHERE StartTime BETWEEN "+;
>>> "ctot(xStartTime) and ctot(xEndTime)"
>>>rs=oConnection.Execute(mySQL)
>>>? rs.GetString()										
>>>RELEASE oConnection
>>>
Cetin
>
>It'd be an error if it didn't give the error :) Sorry my ignorance :
>
>
>xStartTime = "^2004/04/25 07:00"
>xEndTime   = "^2004/04/25 17:00"
>mySQL =  "SELECT * from meetings WHERE StartTime BETWEEN "+;
> "ctot('" + xStartTime + "') and ctot('" + xEndTime + "')"
>rs=oConnection.Execute(mySQL)
>? rs.GetString()
>oConnection.Close
>release oConnection			
>
Cetin
Previous
Reply
Map
View

Click here to load this message in the networking platform