Database Store - 4gl
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
We are in the process of upgrading from version 5.10 to 7.30. Is there a way in 7.3x to avoid hard coding the database name in the 4gl code? We'd like to compile against differently named databases without constantly changing the code. k
Kate_Tomchik@HomeDepot.com writes: > We are in the process of upgrading from version 5.10 to 7.30. Is > there a way in 7.3x to avoid hard coding the database name in the > 4gl code? We'd like to compile against differently named databases > without constantly changing the code. Pass in the name of the schema via a command line option: DEFINE schema CHAR(14) ... LET schema = arg_val(i) ... DATABASE schema -- Forte International, P.O. Box 1412, Ridgecrest, CA 93556-1412 Ronald Cole <ronald@forte-intl.com> Phone: (760) 499-9142 President, CEO Fax: (760) 499-9152 My GPG fingerprint: C3AF 4BE9 BEA6 F1C2 B084 4A88 8851 E6C8 69E3 B00B