RE: Dynamic DATABASE statement
Posted in 1999
yeah, fair point. Hadn't thought of that. Shoot first, think later. Thats my problem. (thats what the wife says anyway) -----Original Message----- From: Christian Brauer [mailto:Christian.Brauer@Dresdner-Bank.com] Sent: Tuesday, October 19, 1999 5:57 PM To: informix-list@iiug.org Subject: Re: Dynamic DATABASE statement > Surely if you have variables defined 'LIKE' tablename.column name then > changing the DATABASE statement at the top of your 4gl will produce errors > at > compile time if the structures of your databases are different. Imagine two databases having the same column in the same table using different datatypes (char - varchar, int smallint whatsoever). That wouldn't produce errors during compile time but IS database-dependant. I think Bryans way will work (used it for myself some time ago) Chris