Re: Schemas shown in ODBC

From: Andreas <maps(dot)on(at)gmx(dot)net>
To: Claus Scherschel <claus(dot)scherschel(at)arcor(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Schemas shown in ODBC
Date: 2005-11-10 00:23:16
Message-ID: 437292F4.3080909@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Claus Scherschel wrote:

>I've just upgraded from Postgres 8.0.1 to 8.1. For testing purposes I'm
>using a MS Access Frontend connected by ODBC. This worked fine until I
>switched to the new ODBC-Driver (the Unicode-version). When I try to
>connect to some new tables, the ODBC-Driver shows tables from the
>information_schema only.
>
same here
Acc2K on Win2K
Someone on the ODBC-list said Acc2K is not affected on WinXP.
StarOffice8 on Win2K doesn't show this issue either.

You could easily link your tables by a little VBA script within Acc2K
even though linking by dialog won't be possible.

************
Public Sub LinkTable()
Const strSchema As String = "public"
Const strTblInt As String = "tblTest" ' name of table within
Access
Const strTblExt As String = "t_test" ' name of table within
Postgres

Dim db As DAO.Database
Dim tdf As DAO.TableDef

Set db = CurrentDb()
Set tdf = db.CreateTableDef(strTblInt)
tdf.Connect = "ODBC;DSN=pg_dsn"
tdf.SourceTableName = strTblExt
db.TableDefs.Append tdf

Set tdf = Nothing
Set db = Nothing
End Sub

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2005-11-10 00:46:59 Re: Best way to use indexes for partial match at beginning
Previous Message Scott Marlowe 2005-11-09 22:32:03 Re: Best way to use indexes for partial match at