Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Foxpro Data Part 2
Message
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00266615
Message ID:
00268510
Views:
29
>>i have changed the code as per your advice but it still does not work. I still think the problem is with the sql query:
>>
>>qry = "select * from kdata where k_date >= '" & datethen & " and"
>>qry = qry & " k_date <= '" & datenow & "'"
>>
>>since when i change the query to:
>>
>>qry = "select * from kdata"
>>

If the above "select * from kdata" is returning records and the qry variable is not, then, the query variable string has an error in it. Why don't you try printing the qry variable to the screen to make sure the correct values are plugged in.
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.

"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform