-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If you don't want to re-run your make-table query you can use ALTER
TABLE instructions to add the new columns. Then run UPDATE queries to
add the "Pepsi" & "A.B." E.g.:
Add the new columns (2 DDL statements - 2 separate querys)
ALTER TABLE table_name ADD COLUMN Company TEXT(10);
ALTER TABLE table_name ADD COLUMN Person TEXT(10);
Fill columns w/ new value (an UPDATE query)
UPDATE table_name
SET Company = "Pepsi", Person = "A.B."
--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBQYgn1oechKq OuFEgEQI5kgCfUO RQzJNqaLGbY/NQKE4pec45rPAAo Mxs
+UFLXWuIlhbgOEx Eo7wN1OBQ
=6irL
-----END PGP SIGNATURE-----
Tim Donaldson wrote:
MGFoster,
Thanks for the reply. I tried what you suggested, but it didn't seem to
work. It's not clear to me how this works. I have a table with already
four columns created by a query. Do I go into into design mode and do
something there, or should I pull up the SQL code and add some lines. I
tried adding some lines to the SQL code, but was coming up with an
error.
Also do I need to create field headings for the new fields first and
then add the fixed text to all the rows in a second step? Thanks for
the clarification.