pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Constantin Teodorescu <teo@flex.ro>
To: Ronald Hoellwarth <R.Hoellwarth@t-online.de>
Cc: pgsql-interfaces@postgresql.org, David Conners <davidthewise@earthlink.net>
Subject: Re: [INTERFACES] Forms too complex or to large in pgaccess?
Date: Sun, 16 Jan 2000 09:53:01 +0200
Message-ID: <388178DD.7AC4DA8E@flex.ro> (raw)
References: <387F9541.512D18A7@earthlink.net>
	<20000115224529.A20896@beehive.hoellwarth>

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



view thread (7+ messages)  latest in thread

Message-ID: <388178DD.7AC4DA8E@flex.ro>
Permalink:  ../388178DD.7AC4DA8E@flex.ro/
Also on:    postgresql.org/message-id/388178DD.7AC4DA8E@flex.ro

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: teo@flex.ro, R.Hoellwarth@t-online.de, davidthewise@earthlink.net
  Subject: Re: [INTERFACES] Forms too complex or to large in pgaccess?
  In-Reply-To: <388178DD.7AC4DA8E@flex.ro>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox