Solved

DBase IV and Unexpected Error

Posted on 2000-02-16
4
896 Views
Last Modified: 2013-11-24
I'm trying to connect to a dbase IV database using VB6 and the Dbase component of Microsoft's desktop database ODBC driver's - It makes the connection ok (rather there is no error message - I don't think that making a connection actually does anything) but when I try to query a table the following error occurs:

Unexpected error from external database driver (10049)


I am sure that this did not occur when I was last working on this code a few months back. I've reinstalled MS desktop ODBC to no avail.

Help me please!!!!

G
0
Comment
Question by:gnancarrow
  • 2
4 Comments
 
LVL 3

Expert Comment

by:Ron Warshawsky
ID: 2532288
Can you try to use OLE DB instead of ODBC. This may help.

  rwarsh
0
 

Author Comment

by:gnancarrow
ID: 2532534
How do I do this?
0
 

Expert Comment

by:tommy_b
ID: 2599052
Please go inside DbaseIV, then use the dbase file and try to "pack" and "reindex" it, maybe the dbase file is having some problem (corrupted !!!)
good luck.
0
 
LVL 3

Accepted Solution

by:
Ron Warshawsky earned 75 total points
ID: 2774538
try to link dbase file to the Access database and read it using Access ODBC driver.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Mongo DB 18 71
Teradata converting character to integer 2 31
T-SQL: New to using transactions 9 54
Software for Local History Museum Library 5 71
As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question