MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

query to paradox database(oledb/odbc) returning wrong result

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ODBC Dotnet
Author Message
srid



Joined: 08 Aug 2007
Posts: 2

PostPosted: Mon Jul 02, 2007 9:20 am    Post subject: query to paradox database(oledb/odbc) returning wrong result Reply with quote

I am writing an application in vb.net 2005 to insert/update/select data to
paradox database file(.db---bde 5.01)
1)what is the best way to go about it?
Note:
I have tried to connect to paradox database via odbc or oledb
a)Dim odbcconnstr As String = "Driver={Microsoft Paradox Driver (*.db
)};DriverID=538;Fil=Paradox
5.X;DefaultDir=I:\pardoxData;Dbq=I:\pardoxData\;CollatingSequence=ASCII"
b)Dim oledbconnstr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=I:\pardoxData;Extended
Properties=Paradox 5.x;"

The problem with (a)odbc.net is unable to select data from memo/blob field.
the application is crashing

The problem with(a) (b)oledb is : select query returning wrong results.for
instance,follwing
query(exact case) dispalying correct results.
select * from mytable where firstname='JOHN'

however, following query(lower case) displaying all the records firstname
starts with 'j' or 'jo' or .....
select * from mytable where firstname='john'

thanks in advance
vijay2

Archived from group: microsoft>public>dotnet>framework>odbcnet
Back to top
View user's profile Send private message
Stephen



Joined: 08 Aug 2007
Posts: 5

PostPosted: Tue Jul 03, 2007 9:58 am    Post subject: RE: query to paradox database(oledb/odbc) returning wrong re Reply with quote

"srid" wrote:

> I am writing an application in vb.net 2005 to insert/update/select data to
> paradox database file(.db---bde 5.01)
> 1)what is the best way to go about it?
> Note:
> I have tried to connect to paradox database via odbc or oledb
> a)Dim odbcconnstr As String = "Driver={Microsoft Paradox Driver (*.db
> )};DriverID=538;Fil=Paradox
> 5.X;DefaultDir=I:\pardoxData;Dbq=I:\pardoxData\;CollatingSequence=ASCII"
> b)Dim oledbconnstr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=I:\pardoxData;Extended
> Properties=Paradox 5.x;"
>
> The problem with (a)odbc.net is unable to select data from memo/blob field.
> the application is crashing
>
> The problem with(a) (b)oledb is : select query returning wrong results.for
> instance,follwing
> query(exact case) dispalying correct results.
> select * from mytable where firstname='JOHN'
>
> however, following query(lower case) displaying all the records firstname
> starts with 'j' or 'jo' or .....
> select * from mytable where firstname='john'


There is a driver for sale for this and as I remember back in 2004 it was 50
usd. The M$ driver did not work.
Back to top
View user's profile Send private message
srid



Joined: 08 Aug 2007
Posts: 2

PostPosted: Tue Jul 03, 2007 12:50 pm    Post subject: RE: query to paradox database(oledb/odbc) returning wrong re Reply with quote

thanks for the info. let me do a google search

"srid" wrote:

> I am writing an application in vb.net 2005 to insert/update/select data to
> paradox database file(.db---bde 5.01)
> 1)what is the best way to go about it?
> Note:
> I have tried to connect to paradox database via odbc or oledb
> a)Dim odbcconnstr As String = "Driver={Microsoft Paradox Driver (*.db
> )};DriverID=538;Fil=Paradox
> 5.X;DefaultDir=I:\pardoxData;Dbq=I:\pardoxData\;CollatingSequence=ASCII"
> b)Dim oledbconnstr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=I:\pardoxData;Extended
> Properties=Paradox 5.x;"
>
> The problem with (a)odbc.net is unable to select data from memo/blob field.
> the application is crashing
>
> The problem with(a) (b)oledb is : select query returning wrong results.for
> instance,follwing
> query(exact case) dispalying correct results.
> select * from mytable where firstname='JOHN'
>
> however, following query(lower case) displaying all the records firstname
> starts with 'j' or 'jo' or .....
> select * from mytable where firstname='john'
>
> thanks in advance
> vijay2

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Why does ODBC connection give OLEDB error? I'm trying to be flexible with how I connect to an Access database because my WinForms app needs to work on older versions of Windows, possibly without the later versions of MDAC. My problem is with a plain Win2K Professional install and trying to query

FoxPro OleDb (and ODBC) Problem on Windows 2003 I cannot use neither UPDATE nor INSERT commands in ASP.NET (on Windows 2003 !!!!) application which use FoxPro database. When I try update table, then I get error: "Cannot update the cursor. Table since it is read- only" But it isn't true. Win32 a

odbc database schema Hi everybody, I'm trying to use an odbc connection to get the list of the available tabls in my database. But I cant't find the right way to do this. Can you help me ??

ODBC Database Structure Hello. Does anyone know how to get to the database structure using an ODBC connection string and retrieve information about tables, fields and data types etc and display them in tree view. I am able to do this with OLEDB but Need to do this with ODBC as

can't create more than 128 connections to database with odbc hi, I'm using Postgresql odbc driver with odbcnet. When i try to make 300 connections to my database through the driver, i get the following error on the 129th attempt: {"ERROR [IM005] Driver Manager] Driver's on SQL_HANDL
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ODBC Dotnet All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group