Problems with Visual Basic - Mailing list pgsql-odbc

From Wolfgang Fürtbauer
Subject Problems with Visual Basic
Date
Msg-id 5.1.0.14.0.20020115062248.00a08820@pop-29.austria.eu.net
Whole thread Raw
Responses Re: Problems with Visual Basic  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-odbc
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@Pentium.suse.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:
         Set myWs = CreateWorkspace("FAKTODBC", "Admin", "", dbUseODBC)
         Workspaces.Append myWs

         Set myDB = myWs.OpenDatabase("fakt32", dbDriverNoPrompt, False,
"ODBC;dsn=PostgreSQL;uid=postgres;pwd=;")
         Set gRsK = OpenRs(DYN, "Select * from " & TB_KENN)
         With gRsK
                 .AddNew
                 .Update
         End With

openrecordset only creates recordset's that are *not* updateable
         .addnew gives an Error-Message: 3027 ... Database or object is
readonly



---------------------------------------------------------------------
Wolfgang Fürtbauer                              Tel: +43 7612 77620
Steinbichlstrasse 58d                           w.fuertbauer@eunet.at
A-4812 Pinsdorf


pgsql-odbc by date:

Previous
From: Curtis Galloway
Date:
Subject: Bad SQL generated by application
Next
From: "Hiroshi Inoue"
Date:
Subject: Re: ODBC problem