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

Re: Problem with VB-DirectODBC selecting

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Wolfgang(dot)Fuertbauer(at)ebewe(dot)com
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Problem with VB-DirectODBC selecting
Date: 2002-03-12 02:58:00
Message-ID: 3C8D6EB8.8DE0B998@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-odbc
Wolfgang(dot)Fuertbauer(at)ebewe(dot)com wrote:
> 
> On 09.03.2002 10:00:42 "Hiroshi Inoue" wrote:
> >> -----Original Message-----
> >> From: Wolfgang(dot)Fuertbauer(at)ebewe(dot)com
> >>
> >> Hi,
> >>
> >> i have a problem with the following SQL-Statement:
> >>
> >> Select Groessen from Weg where Bsnr = 14957 and Znr = 1 and wegkz = 1;
> >>
> >> when executing it via direct-odbc in VB it gives me the error-nr: 3146
> >>
> >> the VB-Code:
> >> ------------
> >> Set myConn = myWs.OpenConnection("", _
> >>                             dbDriverNoPrompt, _
> >>                             False,_
> >>                             "ODBC;dsn=PostgreSQL;uid=postgres;pwd=;")
> >> sql = "Select Groessen from Weg where Bsnr = 14957 and Znr = 1 and wegkz
> =
> >> 1"

Could you add other dummy columns(not text) to the select list ?

regards,
Hiroshi Inoue

> >> Set rs = myConn.OpenRecordset(Sql, _
> >>                          dbOpenSnapshot, _
> >>                          dbExecDirect, _
> >>                          dbOptimistic)

pgsql-odbc by date

Next:From: Wolfgang.FuertbauerDate: 2002-03-12 15:19:06
Subject: Re: Problem with VB-DirectODBC selecting
Previous:From: Gary StainburnDate: 2002-03-10 10:47:34
Subject: Re: [ADMIN] PHP ODBC conflict

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