Skip site navigation (1) Skip section navigation (2)

RE: Writing Large Objects to Postgresql via ODBC using VB

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "Matthew Dormer" <matt(at)infosource(dot)com(dot)au>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: RE: Writing Large Objects to Postgresql via ODBC using VB
Date: 2001-05-04 15:15:31
Message-ID: EKEJJICOHDIEMGPNIFIJGEIPEEAA.Inoue@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-odbc
> -----Original Message-----
> From: Matthew Dormer
>
> I am having problems writing to a postgres database using ODBC.  Here are
> the steps I have taken:
>
> 1.  I have greated a lo type in the database
>
> create type lo (
> internallength=4, externallength=10,
> input=int4in, output=int4out,
> default='', passedbyvalue
> );
>
>
> 2.  I create a table in the database
>
> Create table matt ( matt_id integer not null unique primary key,
> matt_text
> lo );
>
> 3.  I have a simple form with 1 rich text box, RichTextBox1 and a command
> button Command 1  Here is the code on the form:
>

Hmm you are using RDO.
Are you setting rdoEnvironments.CursorDriver to rdUseOdbc ?

regards,
Hiroshi Inoue


In response to

Responses

pgsql-odbc by date

Next:From: Michael DavisDate: 2001-05-04 18:26:28
Subject: RE: MS Access97 Postgres ODBC problems
Previous:From: Tom LaneDate: 2001-05-04 14:10:29
Subject: Re: I saw a table that wasn't there

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group