If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > MA Access Alter Table Default Column Value

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-21-04, 18:26
kangan kangan is offline
Registered User
 
Join Date: Oct 2003
Posts: 17
MA Access Alter Table Default Column Value

Hi,
Is there any way to add a Default Value for a field in Access, when that particular field is being created in the Table.
Currently I am using
ALTER TABLE tbl ADD COLUMN rrr Number and that works fine. But I want it to have a default value of 0 (Zero).
So i put in ALTER TABLE tbl ADD COLUMN rrr Number Default 0 and it doesn't work. Can anyone please help me. I don't want to do it in the VBA. I want to do it using the Alter Table command
-Thanks
Kangan
__________________
kr
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On