If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > error when connect to paradox 4.0 table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-05-03, 20:00
jayson_13 jayson_13 is offline
Registered User
 
Join Date: Mar 2003
Posts: 4
error when connect to paradox 4.0 table

Hi guys,
i don know in which forum i should post, so i just post this in vb and paradox forum.
i have a vb application that read data from paradox table. I have set up a ODBC DSN and it work. but sometime it give me error too.
i hope that you guy can tell me what i miss here.

conn.open("DSN=doxDSN") <------- this line of code can run sometime.
But it will give me "Catastrophic error" sometimes.

here is the ODBC user dsn
[ODBC]
DRIVER=Microsoft Paradox Driver (*.db )
UID=admin
UserCommitSync=Yes
Threads=3
SafeTransactions=0
ParadoxUserName=admin
ParadoxNetStyle=4.x
ParadoxNetPath=Q:\
PageTimeout=5
MaxScanRows=8
MaxBufferSize=2048
FIL=Paradox 4.X
DriverId=282
DefaultDir=Q:\
DBQ=Q:\
CollatingSequence=ASCII
Reply With Quote
  #2 (permalink)  
Old 08-27-03, 16:59
Shores Shores is offline
Registered User
 
Join Date: Aug 2003
Location: Bologna - Italy
Posts: 209
If you're using the Ms ODBC driver and you're trying to access the table with multiple concurrent connections, be aware that the ms driver is known to have problems in this situation.

You should have a "locking" kind of code, which prevents from opening it twice, or go for a better ODBC Pdox Driver.
__________________
The only failure is not trying to do it.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On