Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RDO, SQL statement, no error, just not results returned
Message
General information
Forum:
Visual C++
Category:
Troubleshooting
Miscellaneous
Thread ID:
00059539
Message ID:
00059684
Views:
34
>>>I'm using either Remote Data Object or Remote Data Control and I still have problems with this.
>>>This SQL statement doesn't return me any results, or errors:
>>>SELECT fname FROM AUTHOR WHERE fname LIKE 'bl*';
>>>
>>>fname is in access 97 db, set to text, required no, lenght 25
>>>
>>>If I use this SQL in Access, it will return me 2 results, what is perfect.
>>>
>>>Does anybody have any ideas, why VB would return me 0 results ?
>>>
>>>I tried using Remote Data Control or creating a RDOEnvironment & in it, connection, query & resultset, but still it's like banging it in the wall.
>>>
>>>
>>>All help or suggestions are highly appriciated.
>>>
>>>Thank you in advance.
>>>
>>>
>>>Alesh
>>
>>Not sure but give this a try----
>>SELECT fname FROM AUTHOR WHERE fname LIKE 'bl%';
>
>
>Excellent! Damn thing worked :-) Didn't know i had to replace * with % . Any other such replacements?
>
>
>Alesh

Yes, there is several but it varies from system to system. Find a good ODBC ref book.
Remember that not all systems follow the standard completely.
Good Luck


Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Reply
Map
View

Click here to load this message in the networking platform