View Full Version : set default value in field


tpk1031
01-25-2005, 10:49 PM
guys.. i'm using ACCESS 2000.

i wish to add a field
1. fieldname : mytext
2. fieldtype : text
3. default value : none

i have try
ALTER TABLE <TABLE> ADD COLUMN mytext text

but failed to set the DEFAULT value

PARSO
01-26-2005, 02:28 AM
why not just add the field in table desgin rather than using sql?

tpk1031
01-26-2005, 07:22 PM
why not just add the field in table desgin rather than using sql?

i just to need to how to do that instead of using design method... sure have a solution to do that.... i'm doin runtime app now..the reason is : coz design takes time... running script faster ... pls help me