Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time Error '3274'

Status
Not open for further replies.

gwd4523

Programmer
Dec 11, 2010
4
US
For VB6. The following 2 lines of code
Code:
[COLOR=red] Set dbMailList = OpenDatabase("c:\familyml", vbFalse, vbFalse, "dbase IV")
    Set rsMailList = dbMailList.OpenRecordset("Familyml", dbOpenTable, 0)[/color]
gives me a "Run-Time Error '3274' External Table isn't in expected format The error occurs on the line of code "Set rsMaillist...." I am trying to open a Visual Dbase 7 table. I believe that this program ran clean when I used it last year at this time. (Xmas Mailing list). Researhing this error in Google indicated that this could be a registry problem. I ran a registry repair program which corrected over a 1000 errors in my registry but this did not fix the problem. Anybody have any ideas?
 
I'm unfamiliar with Visual Dbase 7, having left dBase at dBase IV. Are you saying that you have a file called c:\familyml\Familyml.dbf and that it is in dBase format? While it looks like there may be any number of reasons why you get this error message, I think you might first explain why you think your file IS in the expected format. Perhaps you might pull the file up in FoxPro and see if it loads? FoxPro uses dBase file format, AFAIK.
 
Thanks BobRodes for your reply. I decided the problem was the database file was in fact not in the correct dbase format. I had another file that was another version of my mailing list and it ran clean. Strange how those things happen.
GWD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top