From: | "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Wolfgang F·tbauer <w(dot)fuertbauer(at)eunet(dot)at> |
Cc: | <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: Problems with Visual Basic |
Date: | 2002-01-18 22:37:46 |
Message-ID: | EKEJJICOHDIEMGPNIFIJKEFJGIAA.Inoue@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
> -----Original Message-----
> From: Wolfgang FEtbauer
>
> Hi,
>
> found a Problem with the following configuration; can you help please?
>
> ODBC-Driver-Version:
> 7.1.007
> Database-Version:
> 7.1.3 on Linux 2.4.4-4GB (root(at)Pentium(dot)suse(dot)de) (gcc version
> 2.95.3 20010315 (SuSE))
> Visual Basic:
> 6 SP 5
> Data Access Method:
> DAO (.. i know; but I have/want to convert a *large* project)
> The Code:
M$ ODBC cursor library support is needed.
> Set myWs = CreateWorkspace("FAKTODBC", "Admin", "", dbUseODBC)
> Workspaces.Append myWs
>
Please insert the following code here.
myWS.defaultCursorDriver = dbUseODBCCursor
> Set myDB = myWs.OpenDatabase("fakt32", dbDriverNoPrompt, False,
> "ODBC;dsn=PostgreSQL;uid=postgres;pwd=;")
> Set gRsK = OpenRs(DYN, "Select * from " & TB_KENN)
Please open the recordset gRsK with dbExecDirect, dbOptimistic option.
regards,
Hiroshi Inoue
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2002-01-18 22:37:52 | Re: ODBC problem |
Previous Message | Hiroshi Inoue | 2002-01-18 22:37:40 | Re: odbc error |