Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f68BbBa68058 for ; Sun, 8 Jul 2001 07:37:11 -0400 (EDT) (envelope-from markMLl.pgsql-interfaces@telemetry.co.uk) Received: from kdgmtbu.demon.co.uk ([194.222.45.178] helo=pye-srv-02.telemetry.co.uk) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 15JCss-000AsC-0V for pgsql-interfaces@PostgreSQL.org; Sun, 8 Jul 2001 12:37:54 +0100 Received: (from daemon@localhost) by pye-srv-02.telemetry.co.uk (8.9.1/8.9.1) id LAA29445; Sun, 8 Jul 2001 11:36:28 GMT From: markMLl.pgsql-interfaces@telemetry.co.uk Subject: Getting info on "Max LongVarChar" under ODBC Date: Sun, 08 Jul 2001 11:36:15 +0000 Organization: KDG Telemetry Message-ID: <3B4845AF.D933DD72@telemetry.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: pgsql-interfaces@PostgreSQL.org X-Archive-Number: 200107/37 X-Sequence-Number: 1790 Is there a way of querying the Win-32 ODBC driver to find out the current value of the "Max LongVarChar" control panel setting? What I'm trying to do is make a Delphi (via BDE) app aware of the limitation so that it can behave intelligently rather than risking truncating text. Any suggestions much appreciated. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]