Re: Setting database at runtime with 4GL
Posted in 1995
> > Subject: Setting database at runtime with 4GL > > Date: Fri, 20 Jan 1995 17:34:29 +0000 > > From: simonb@misslink.demon.co.uk (Simon Bunce) > > Organization: Missing Link Systems > > > > Is it possible to choose which database to use from within a 4gl > > program? < Bits deleted > > A DATABASE statement at the top of a 4GL source is a declarative > statement. A DATABASE statement *after* a MAIN or FUNCTION statement is > an executable statement Not quite. The declarative one *also* gets executed. So as I understand it a database with the same name as the declarative one also has to exist on the runtime system, even if it's completely empty on that box. On the development system it would have to contain as a minimum any tables/ columns referenced by DEFINE..LIKE. akent@cix.compulink.co.uk (Andy Kent) -------------------------------------