Received: from flex.flex.ro (IDENT:root@[193.230.255.4]) by hub.org (8.9.3/8.9.3) with ESMTP id CAA46505 for ; Sun, 16 Jan 2000 02:52:44 -0500 (EST) (envelope-from teo@flex.ro) Received: from flex.ro (IDENT:teo@teo.flex.ro [193.230.255.3]) by flex.flex.ro (8.9.3/8.9.3) with ESMTP id KAA04883; Sun, 16 Jan 2000 10:55:58 +0200 Sender: teo@flex.flex.ro Message-ID: <388178DD.7AC4DA8E@flex.ro> Date: Sun, 16 Jan 2000 09:53:01 +0200 From: Constantin Teodorescu X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: Ronald Hoellwarth CC: pgsql-interfaces@postgresql.org, David Conners Subject: Re: [INTERFACES] Forms too complex or to large in pgaccess? References: <387F9541.512D18A7@earthlink.net> <20000115224529.A20896@beehive.hoellwarth> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ronald Hoellwarth wrote: > > Am Fri, Jan 14, 2000 at 04:29:37PM -0500 schrieb David Conners: > > > ANy help or advise is appreciated. > > Well, I encountered the same problem and found the following solution. > I create scripts that do some stuff and then use the following code to > source the thinggummy. > > DataControl(.kz.query)::setSQL "SELECT scriptsource FROM pga_scripts where scriptname = 'kz_bind';" > DataControl(.kz.query)::open > DataControl(.kz.query)::updateDataSet > set scriptcode $DataSet(.kz.query,scriptsource) > DataControl(.kz.query)::close > eval $scriptcode > As I see, you choose to create scripts containing big code and call them in the form source. But, instead of finding them as you show us (with datacontrols) , why don't you use this simple variant: Scripts::execute "kz_bind" Starting with version 0.98, PgAccess defines those namespaces (Forms, Scripts, ...) that implement the simple commands "Open", "Execute", "Design". Please check if it works for you and drop me a note! Teo