Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 39D139FB321 for ; Mon, 26 Feb 2007 09:29:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 67435-10 for ; Mon, 26 Feb 2007 09:29:37 -0400 (AST) X-Greylist: delayed 00:20:51.437708 by SQLgrey-1.7.4 Received: from smtp24.orange.fr (smtp24.orange.fr [193.252.22.25]) by postgresql.org (Postfix) with ESMTP id 701579FB820 for ; Mon, 26 Feb 2007 09:29:42 -0400 (AST) Received: from smtp24.orange.fr (mwinf2403 [10.232.5.25]) by mwinf2440.orange.fr (SMTP Server) with ESMTP id B2C2F1C037E7 for ; Mon, 26 Feb 2007 14:08:52 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2403.orange.fr (SMTP Server) with ESMTP id 3D3301C00099; Mon, 26 Feb 2007 14:08:49 +0100 (CET) Received: from mail.bjl-gw.dyndns.org (APuteaux-155-1-71-188.w90-2.abo.wanadoo.fr [90.2.86.188]) by mwinf2403.orange.fr (SMTP Server) with ESMTP id 1D4B51C00098; Mon, 26 Feb 2007 14:08:49 +0100 (CET) X-ME-UUID: 20070226130849120.1D4B51C00098@mwinf2403.orange.fr Received: from [127.0.0.1] (mail.bjl-gw.dyndns.org [127.0.0.1]) by mail.bjl-gw.dyndns.org (Postfix) with ESMTP id C61415E95B; Mon, 26 Feb 2007 14:10:14 +0100 (CET) Message-ID: <45E2DC35.2010605@free.fr> Date: Mon, 26 Feb 2007 14:10:13 +0100 From: ioguix User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: hengky liwandouw Cc: pgsql-odbc@postgresql.org Subject: Re: PLS Help. Linked tables in MS Access References: <20070226103327.90667.qmail@web53303.mail.yahoo.com> In-Reply-To: <20070226103327.90667.qmail@web53303.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200702/38 X-Sequence-Number: 8662 hengky liwandouw wrote: > > 1. How can i know my ODBC driver version ? My win is not in english, so the following is approximative : Go to the windows configuration panel -> administration tools -> database sources (ODBC) and look in the the ODBC driver tab. > 2. How to run tcpdump ? From your *nix server ? Or from windows, install wireshark. > 3. How to see Postgre SQL log, to see how fast it runs Access sql command ? you have to tweak your psql config file in your server. if it is an *nix, logs are probably in /var/log > 4. Some times when user input data, my application show "#delete" > records while no user delete record. How can this error appear ? This is a really recurrent bug. There are plenty of information about this in the ml. Personnaly, I only use integer primary key, NOT NULL boolean and other stuff I don't remember. Access return #deleted because each time it insert or update a table's entry , it check it : - If it knows the PK, it will check with a "select * from yourTable where PK=X" - If it doesn't know it, it will do a select with all the datas it has : if more than one entry or no entry are returned by psql, it will be printed as #deleted in MSAccess. Sorry if I'm not clear, but just run wireshark a study what's append, you should anderstand quickly. > 5. Could someone share his VBA code to connect from Access to PGSQL ? I > think maybe something wrong with my VBA code that caused the "#delete" > problem. ... Dim qry As QueryDef qry.Connect = "ODBC;DATABASE=dbName;DSN=ODBCName;UID=user;PWD=pass" ... Cheers, -- IoGuiX