Re: Accessing another DB with Logging
Posted in 1997
On Mon, 22 Sep 1997, Art S. Kagel wrote: } Nils Myklebust wrote: } > David Williams <djw@smooth1.demon.co.uk> wrote: } > :gary.vaughan@workcover.nsw.gov.au writes } > :> I have written a 4gl program that reads from one database across a network } > :> and inserts into another, which has been working fine. [...] }[...] } } I know that 4GL does not yet support connections, but, you should be } able to write an ESQL/C function to create the multiple connections and } another function(s) to change between connections. With separate } connections you are not violating the logged -vs- non-logged restriction } and are still able to copy from one database to another. There is code in the IIUG software library (http://www.iiug.org) to handle connections to databases for I4GL. It isn't hard, just fiddly. Yours, Jonathan Leffler (johnl@informix.com) #include <witticism.h>