ALTER TABLE will work after the fact, of course, but if you're doing it on
an on-going basis, you can create extra fields right in the MakeTable query.
Something like this:
SELECT ID, "" AS TextField, 0 as LongField, CDbl("0") AS DoubleField,
CDate("0") As DateField Name, Phone INTO Table2
FROM Table1;
TextField with be text, LongField with be a long integer, DoubleField will
be a double precision number, and DateField will be a date/time field. Now,
of course, you have filled these fields with default values in order to
create the type of field you want. You can follow this up with an Update
query to null the fields
UPDATE Table2 SET TextField = Null, DoubleField = Null, LongField = Null,
DateField = Null;
or fill them with the appropriated data.
--
--Roger Carlson
MS Access MVP
Access Database Samples:
www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L