G
Guest
I need to set up a table of (Distinct) countries that exist in a master file,
for use in a list box, and add an extra "(select Country)" record up front,
so that it is the default visible choice in the list box.
I thought of creating a replica of the master file (dummy_country_file) with
only one record containing "(select Country)" in the Country field and
appending this value to the output of the SQL statement...
SELECT DISTINCT country INTO countries FROM masterfile
Yet the SELECT DISTINCT country INTO countries FROM dummy_country_file
statement actually replaces the output of the first statement.
Is there a clause I need to specify so that the second SQL appends its
output to the Countries file instead of replacing or should I run an SQL
statement SELECTing DISTINCT from both files at once (which I don't know how
to do)?
Thanks in advance
for use in a list box, and add an extra "(select Country)" record up front,
so that it is the default visible choice in the list box.
I thought of creating a replica of the master file (dummy_country_file) with
only one record containing "(select Country)" in the Country field and
appending this value to the output of the SQL statement...
SELECT DISTINCT country INTO countries FROM masterfile
Yet the SELECT DISTINCT country INTO countries FROM dummy_country_file
statement actually replaces the output of the first statement.
Is there a clause I need to specify so that the second SQL appends its
output to the Countries file instead of replacing or should I run an SQL
statement SELECTing DISTINCT from both files at once (which I don't know how
to do)?
Thanks in advance