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

ODBC Problems

From: "Stavros Karposilos" <apcl79(at)dsl(dot)pipex(dot)com>
To: "pgsql-interfaces" <pgsql-interfaces(at)postgresql(dot)org>
Subject: ODBC Problems
Date: 2002-07-17 09:45:53
Message-ID: 001401c22d76$be664740$6d1fa8c0@skarp (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
    I am using psqlODBC v7.2.1 to connect a Redhat 7.2 Server running PostgreSQL v7.1.3 to a Win2K client running MS Access 2K.
    I have created an application which works fine for some time, but after that I get error messages which prevent me from opening and closing forms.
    Once, I got the message "Could not send query to the backend" right before the same situation with the forms started.
    I suspect that the driver closes the connection to the backend without informing the frontend, making the second do all weird things.
    I have tried some workarounds. I used a timer to refresh the table links every 1 min, but the command --CurrentDB.TableDefs("ItemsMain").Fields.Refresh-- didn't help on solving the problem and the command --CurrentDB.TableDefs("ItemsMain").RefreshLink-- seems to work, but every time it is executed it adds 350Kbytes to the Frontend Database file. After 10min the file has become 3MB, which are empty.
    Is it possible to change some settings on the driver so that the connection never closes, or to automatically reestablish the connection to the backend when closed?

    This small detail is the difference between a fully working program and a useless bunch of code. I would really appreciate any help.
    If this behaviour cannot change, do you have any recommendation on using another GUI frontend capable of running on Windows Boxes featuring tighter integration with PostgreSQL?

  Thank you in advance,
  Stavros Karposilos

pgsql-interfaces by date

Next:From: Edward GrabczewskiDate: 2002-07-17 14:57:39
Subject: Building LPQ and LPQ++ libraries for Windows
Previous:From: Harry ForsterDate: 2002-07-17 03:26:35
Subject: Re: pgaccess - registration before download

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