pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedAccess and PG ODBC problem
8+ messages / 3 participants
[nested] [flat]
* Access and PG ODBC problem
@ 2004-10-04 21:39 anthony.caduto@micorp.com
0 siblings, 0 replies; 8+ messages in thread
From: anthony.caduto@micorp.com @ 2004-10-04 21:39 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I am trying to convert some access databases to use PG linked tables and
all was going good until I tried to do some stuff in VBA script..
Dim conn As New ADODB.Connection
Set conn = New ADODB.Connection
conn.Open
"driver={PostgreSQL};server=192.168.1.29;port=5432;database=mydb;uid=postgres;pwd=;ksqo=;"
Dim rs As New ADODB.Recordset
Set rs = New ADODB.Recordset
rs.CursorLocation = adUseServer
rs.Open "select * from lw_partnershipdata.switchboard_remote", conn,
adOpenDynamic, adLockOptimistic, adCmdText
It all goes good until the last line and then I get this error:
Column "OID" does not exist
None of my tables have OIDs as they are large and I don't want the
overhead of the OIDs.
Any help/Ideas would be appreciated.
Thanks,
Tony Caduto
Senior Programmer/Analyst
M&I Trust and Investment Management
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Access and PG ODBC problem
@ 2004-10-04 23:31 Andrew Ayers <aayers@eldocomp.com>
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Ayers @ 2004-10-04 23:31 UTC (permalink / raw)
To: anthony.caduto@micorp.com <anthony.caduto@micorp.com>; +Cc: pgsql-odbc
anthony.caduto@micorp.com wrote:
>
> Hi,
> I am trying to convert some access databases to use PG linked tables and
> all was going good until I tried to do some stuff in VBA script..
>
> Dim conn As New ADODB.Connection
> Set conn = New ADODB.Connection
> conn.Open
> "driver={PostgreSQL};server=192.168.1.29;port=5432;database=mydb;uid=postgres;pwd=;ksqo=;"
>
> Dim rs As New ADODB.Recordset
> Set rs = New ADODB.Recordset
> rs.CursorLocation = adUseServer
> rs.Open "select * from lw_partnershipdata.switchboard_remote", conn,
> adOpenDynamic, adLockOptimistic, adCmdText
>
> It all goes good until the last line and then I get this error:
>
> Column "OID" does not exist
>
> None of my tables have OIDs as they are large and I don't want the
> overhead of the OIDs.
>
> Any help/Ideas would be appreciated.
Don't know if this will help - but did you try checking "Row Versioning"
on in the ODBC driver?
Andrew Ayers
-- CONFIDENTIALITY NOTICE --
This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Access and PG ODBC problem
@ 2004-10-05 07:45 Dave Page <dpage@vale-housing.co.uk>
2004-10-05 14:06 ` Re: Access and PG ODBC problem anthony.caduto@micorp.com
0 siblings, 1 reply; 8+ messages in thread
From: Dave Page @ 2004-10-05 07:45 UTC (permalink / raw)
To: anthony.caduto@micorp.com; pgsql-odbc
________________________________
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of
anthony.caduto@micorp.com
Sent: 04 October 2004 22:39
To: pgsql-odbc@postgresql.org
Subject: [ODBC] Access and PG ODBC problem
Hi,
I am trying to convert some access databases to use PG linked
tables and all was going good until I tried to do some stuff in VBA
script..
Dim conn As New ADODB.Connection
Set conn = New ADODB.Connection
conn.Open
"driver={PostgreSQL};server=192.168.1.29;port=5432;database=mydb;uid=pos
tgres;pwd=;ksqo=;"
Dim rs As New ADODB.Recordset
Set rs = New ADODB.Recordset
rs.CursorLocation = adUseServer
rs.Open "select * from lw_partnershipdata.switchboard_remote",
conn, adOpenDynamic, adLockOptimistic, adCmdText
It all goes good until the last line and then I get this error:
Column "OID" does not exist
None of my tables have OIDs as they are large and I don't want
the overhead of the OIDs.
Any help/Ideas would be appreciated.
Hi Tony,
I tested this code in VB6 (where I have a nice debugger), and it works
perfectly either with, or without the infamous updateable cursors option
on the version of the driver that I posted yesterday (8.00.0001). Can
you try with that version please?
Regards, Dave.
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Access and PG ODBC problem
2004-10-05 07:45 Re: Access and PG ODBC problem Dave Page <dpage@vale-housing.co.uk>
@ 2004-10-05 14:06 ` anthony.caduto@micorp.com
0 siblings, 0 replies; 8+ messages in thread
From: anthony.caduto@micorp.com @ 2004-10-05 14:06 UTC (permalink / raw)
To: pgsql-odbc
Hi Dave,
Thanks for the Info, switching to that latest snapshot did the trick.
Would it be possible to get a updated msi installer out there with the
newest version?
Thanks,
Tony Caduto
Senior Programmer/Analyst
M&I Trust and Investment Management
"Dave Page" <dpage@vale-housing.co.uk>
Sent by: pgsql-odbc-owner@postgresql.org
10/05/2004 02:45 AM
To
<anthony.caduto@micorp.com>, <pgsql-odbc@postgresql.org>
cc
Subject
Re: [ODBC] Access and PG ODBC problem
Hi Tony,
I tested this code in VB6 (where I have a nice debugger), and it works
perfectly either with, or without the infamous updateable cursors option
on the version of the driver that I posted yesterday (8.00.0001). Can you
try with that version please?
Regards, Dave.
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Access and PG ODBC problem
@ 2004-10-05 14:12 Dave Page <dpage@vale-housing.co.uk>
2004-10-05 14:18 ` Re: Access and PG ODBC problem anthony.caduto@micorp.com
0 siblings, 1 reply; 8+ messages in thread
From: Dave Page @ 2004-10-05 14:12 UTC (permalink / raw)
To: anthony.caduto@micorp.com; pgsql-odbc
________________________________
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of
anthony.caduto@micorp.com
Sent: 05 October 2004 15:07
To: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Access and PG ODBC problem
Hi Dave,
Thanks for the Info, switching to that latest snapshot did the
trick.
Would it be possible to get a updated msi installer out there
with the newest version?
Not with a snapshot version I'm afraid (I just don't have time at the
moment). I'll produce a new MSI when we have something stable enough to
call a 'real' release.
Regards, Dave
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Access and PG ODBC problem
2004-10-05 14:12 Re: Access and PG ODBC problem Dave Page <dpage@vale-housing.co.uk>
@ 2004-10-05 14:18 ` anthony.caduto@micorp.com
0 siblings, 0 replies; 8+ messages in thread
From: anthony.caduto@micorp.com @ 2004-10-05 14:18 UTC (permalink / raw)
To: pgsql-odbc
Hi Dave,
Is the MSI script available somewhere so I could build my own installer?
The latest snapshot is a lot more stable than the Nov 2003 stable release
and i will need the version that does not have the OID issue to continue
with my Access/Postgresql rollout.
Any reason why you are using MSI instead of something like Inno Setup
(http://www.jrsoftware.com)?
I would be willing to maintain a snapshot installer if you need some extra
help.
Thanks,
Tony Caduto
Senior Programmer/Analyst
M&I Trust and Investment Management
"Dave Page" <dpage@vale-housing.co.uk>
10/05/2004 09:12 AM
To
<anthony.caduto@micorp.com>, <pgsql-odbc@postgresql.org>
cc
Subject
RE: [ODBC] Access and PG ODBC problem
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of
anthony.caduto@micorp.com
Sent: 05 October 2004 15:07
To: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Access and PG ODBC problem
Hi Dave,
Thanks for the Info, switching to that latest snapshot did the trick.
Would it be possible to get a updated msi installer out there with the
newest version?
Not with a snapshot version I'm afraid (I just don't have time at the
moment). I'll produce a new MSI when we have something stable enough to
call a 'real' release.
Regards, Dave
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Access and PG ODBC problem
@ 2004-10-05 14:32 Dave Page <dpage@vale-housing.co.uk>
2004-10-05 14:53 ` Re: Access and PG ODBC problem anthony.caduto@micorp.com
0 siblings, 1 reply; 8+ messages in thread
From: Dave Page @ 2004-10-05 14:32 UTC (permalink / raw)
To: anthony.caduto@micorp.com; pgsql-odbc
________________________________
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of
anthony.caduto@micorp.com
Sent: 05 October 2004 15:19
To: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Access and PG ODBC problem
Hi Dave,
Is the MSI script available somewhere so I could build my own
installer?
Yes, it's in the CVS on GBorg.
The latest snapshot is a lot more stable than the Nov 2003
stable release and i will need the version that does not have the OID
issue to continue with my Access/Postgresql rollout.
Any reason why you are using MSI instead of something like Inno
Setup (http://www.jrsoftware.com)?
MSI is what Microsoft support these days - it allows packaging into
merge modules for easy inclusion in other packages, and installation are
easily scriptable.
I would be willing to maintain a snapshot installer if you need
some extra help.
Well I have been meaning to port the installer from Wise for Windows to
Wix if you'd like to look at that and take over it's maintenance. Wix
(wix.sf.net iirc) is Microsoft's first open source project and allows
you to build MSI files from XML code. It will also decompile existing
MSI files which should definately give you a head start.
Regards, Dave.
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Access and PG ODBC problem
2004-10-05 14:32 Re: Access and PG ODBC problem Dave Page <dpage@vale-housing.co.uk>
@ 2004-10-05 14:53 ` anthony.caduto@micorp.com
0 siblings, 0 replies; 8+ messages in thread
From: anthony.caduto@micorp.com @ 2004-10-05 14:53 UTC (permalink / raw)
To: pgsql-odbc
Hi Dave,
Inno can do all of that as well and it's a true open source project. I
really don't like supporting MS$ in any way.
I will take a look at the stuff on wix.sf.net iirc
Thanks,
Tony Caduto
Senior Programmer/Analyst
M&I Trust and Investment Management
"Dave Page" <dpage@vale-housing.co.uk>
10/05/2004 09:32 AM
To
<anthony.caduto@micorp.com>, <pgsql-odbc@postgresql.org>
cc
Subject
RE: [ODBC] Access and PG ODBC problem
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of
anthony.caduto@micorp.com
Sent: 05 October 2004 15:19
To: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Access and PG ODBC problem
Hi Dave,
Is the MSI script available somewhere so I could build my own installer?
Yes, it's in the CVS on GBorg.
The latest snapshot is a lot more stable than the Nov 2003 stable release
and i will need the version that does not have the OID issue to continue
with my Access/Postgresql rollout.
Any reason why you are using MSI instead of something like Inno Setup (
http://www.jrsoftware.com)?
MSI is what Microsoft support these days - it allows packaging into merge
modules for easy inclusion in other packages, and installation are easily
scriptable.
I would be willing to maintain a snapshot installer if you need some extra
help.
Well I have been meaning to port the installer from Wise for Windows to
Wix if you'd like to look at that and take over it's maintenance. Wix
(wix.sf.net iirc) is Microsoft's first open source project and allows you
to build MSI files from XML code. It will also decompile existing MSI
files which should definately give you a head start.
Regards, Dave.
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2004-10-05 14:53 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-04 21:39 Access and PG ODBC problem anthony.caduto@micorp.com
2004-10-04 23:31 Re: Access and PG ODBC problem Andrew Ayers <aayers@eldocomp.com>
2004-10-05 07:45 Re: Access and PG ODBC problem Dave Page <dpage@vale-housing.co.uk>
2004-10-05 14:06 ` anthony.caduto@micorp.com
2004-10-05 14:12 Re: Access and PG ODBC problem Dave Page <dpage@vale-housing.co.uk>
2004-10-05 14:18 ` anthony.caduto@micorp.com
2004-10-05 14:32 Re: Access and PG ODBC problem Dave Page <dpage@vale-housing.co.uk>
2004-10-05 14:53 ` anthony.caduto@micorp.com
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox