From: | Kenneth Gonsalves <lawgon(at)thenilgiris(dot)com> |
---|---|
To: | "Premsun Choltanwanich" <Premsun(at)nsasia(dot)co(dot)th>, <getsreejith(at)gmail(dot)com>, <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Image Insert Postgresql DB |
Date: | 2004-11-23 09:29:29 |
Message-ID: | 0411231459290P.01150@thenilgiris.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Tuesday 23 November 2004 01:49 pm, Premsun Choltanwanich wrote:
> I use VB as develop tool and ADO for connect. My code is show below and
> for vPicMember is stand ADOStream in Binary.
>
> rs.Open "SELECT * FROM t_mbrpic WHERE mbrsysid = " & vSysId, conn,
> adOpenStatic, adLockOptimistic
> If rs.EOF Then rs.AddNew
> rs!MbrSysId = vSysId
> rs!MbrPic = vPicMember.Read
> rs.Update
> rs.Close
i use python, and have no idea about ado, this might help:
http://gborg.postgresql.org/project/psqlodbc/genpage.php?howto-vblo
kg
From | Date | Subject | |
---|---|---|---|
Next Message | Premsun Choltanwanich | 2004-11-23 09:45:21 | Re: Image Insert Postgresql DB |
Previous Message | Premsun Choltanwanich | 2004-11-23 08:19:15 | Re: Image Insert Postgresql DB |