Re: Using Access 2003 to Link to Paradox Data

From: Noah Kaufman (NoahKaufman_at_discussions.microsoft.com)
Date: 10/17/04


Date: Sat, 16 Oct 2004 18:21:05 -0700

Mr. Vaught -

If you look closely at the VBA code that I wrote, you will see that I don't
use ODBC, but rather the Microsoft native Paradox driver. This doesn't work
either, and was also suggested by Microsoft support when I contacted them.

They are currently working on it, and my guess is that this will get
escalated.

Sincerely,

Noah Kaufman

"G. Vaught" wrote:

> Don't use the ODBC choice, try using the Paradox choice when linking the
> tables?
>
> "Noah Kaufman" <NoahKaufman@discussions.microsoft.com> wrote in message
> news:825C0E4B-52D5-434A-9031-5869DCF9FA6C@microsoft.com...
> > First off - let me say that this whole process is way more difficult than
> > it
> > should be. Microsoft really blew it when setting up the whole idea of
> > linked
> > tables.
> >
> > I have a piece of software from a third-party that uses Paradox 4.x to
> > store
> > it's data. I have set up an ODBC data source, and I can use Microsoft
> > Word
> > to open the Paradox tables individually and get data. (Like for a mail
> > merge.)
> >
> > So I know my ODBC connection set up works.
> >
> > I now need to combine information in two of the Paradox tables (also as
> > part
> > of a mail merge process). It would seem that Access would be perfect for
> > this, since I should be able to simply create a new database, and then
> > link
> > the tables I need from the existing Paradox data.
> >
> > It doesn't work, and that is my problem.
> >
> > After reading lots of posts, I realized that I simply can't do the
> > intuitive
> > thing -- which would be to use "File" -> "Get External Data" -> "Link
> > tables"
> > to get the data out of Paradox and into Access. Attempting to do this
> > gets
> > me the dreaded "You can't use ODBC to import external Microsoft Jet or
> > ISAM
> > databases" error message.
> >
> > So looking at some other posts, the recommended method around this seems
> > to
> > be to write some VBA code to link the tables. Following a reference from
> > another poster, I read the Microsoft white paper on this, and wrote the
> > following code:
> >
> > Public Sub AddLinkedTable1()
> > ' Open the Microsoft Access database named Test.mdb.
> > Set CurrentDatabase =
> > DBEngine.Workspaces(0).OpenDatabase("C:\ClientTest.mdb")
> > ' Create the TableDef object.
> > Set MyTableDef = CurrentDatabase.CreateTableDef("Attached Paradox Table")
> > ' Set the connection information.
> > MyTableDef.Connect = "Paradox 4.X;DATABASE=T:\Timeslips data\"
> > MyTableDef.SourceTableName = "NAME"
> > ' Append the TableDef object to create the link.
> > CurrentDatabase.TableDefs.Append MyTableDef
> > ' Display a confirmation message.
> > MsgBox "Finished attaching " & MyTableDef.SourceTableName & ".", 0
> > End Sub
> >
> > The problem is that although this does create a linked table, it still
> > doesn't work because I am now getting another error message:
> > "Unexpected error from external database driver (11270)."
> >
> > This error occurs both when I run my VBA code, and also when I attempt to
> > click directly on the linked table entry from the "Tables" listing for my
> > test Access database.
> >
> > Can someone please shed some light on what I'm doing wrong here, and how I
> > can fix this "unexpected error" thing? Thanks much, in advance.
> >
> > Sincerely,
> >
> > Noah Kaufman
> >
> >
>
>
>



Relevant Pages

  • RE: ODBC ERROR
    ... As you mentioned in other post, you may want to enable odbc tracing ... Microsoft Online Partner Support ... | We have a DTS package to upload data from SQL to PARADOX. ... Upload for one table works, but for the other one, we ...
    (microsoft.public.sqlserver.odbc)
  • Re: Using Access 2003 to Link to Paradox Data
    ... Don't use the ODBC choice, try using the Paradox choice when linking the ... I have set up an ODBC data source, and I can use Microsoft ...
    (microsoft.public.access.externaldata)
  • Re: ODBC ERROR
    ... analysis might be the efficient method to find clues. ... open a Support incident with Microsoft Product Support Services so that a ... For a complete list of Microsoft Product Support Services phone numbers, ... Microsoft OLE DB Provider for ODBC Drivers ...
    (microsoft.public.sqlserver.odbc)
  • Re: ODBC connection strings - "ODBC;" prefix?
    ... MFC is adding the "ODBC;" in the call I referenced in my prior reply. ... As you can see, if there is "ODBC;" in the connection string, ... Microsoft Online Community Support ...
    (microsoft.public.vc.database)
  • Re: JDBC =?UTF-8?B?ZsO8ciBNUy1BY2Nlc3MgZ2VzdWNodA==?=
    ... finde ich immer nur den Weg über JDBC und dann ODBC. ... suche ich eine Alternative. ... "From a data access technology standpoint, Jet is considered a ... Microsoft has no plans to natively support Jet under ...
    (de.comp.lang.java)