Re: Question about ALTER TABLE and ALTER COLUMN

Tech-Archive recommends: Speed Up your PC by fixing your registry



you cant do this with microsoft access 2003

you must upgrade to access 20004 by clicking here:
http://www.ammara.com/access_image_faq/access_loading_image_dialog.html

HTH

Kevin
"BobV" <rkvjr.IGNORE@xxxxxxxxxxxxx> wrote in message
news:1fSPg.3487$UG4.2842@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Group:

I am using Access 2002. I want to add a column to a table (MasterData) in
the backend database and then specify that it be an integer with a default
value of zero. I am using the following statement to add a column to the
MasterData table, but I would like to further specify that the column be
an integer with a default value of zero. Can someone suggest the proper
syntax for a VBA statement to do what I want to do? I think I need to use
ALTER COLUMN but I don't know the proper syntax. Any sample code would be
greatly appreciated.

BackDb.Execute "ALTER TABLE [MasterData] ADD COLUMN [CompanyOpen] Number;"

Thanks,
Bob V



.



Relevant Pages

  • Question about ALTER TABLE and ALTER COLUMN
    ... the backend database and then specify that it be an integer with a default ... MasterData table, but I would like to further specify that the column be an ... for a VBA statement to do what I want to do? ... COLUMN but I don't know the proper syntax. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Question about ALTER TABLE and ALTER COLUMN
    ... MasterData table, but I would like to further specify that the column be ... syntax for a VBA statement to do what I want to do? ... ALTER COLUMN but I don't know the proper syntax. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Division by zero
    ... an item and a directional association ... specify how many times one item is included in or excluded from another ... sign&count, count is 1, 2, etc, but not zero. ... numbers beyond what is written in the referenced papers, ...
    (comp.theory)
  • Re: Caclulation Code?
    ... doesn't look like it has the proper syntax. ... feild PIECES is qual to 0 then bring up the message incomplete information ... PIECES requires a value not equal to zero. ... "Jeff Boyce" wrote: ...
    (microsoft.public.access.formscoding)
  • Re: RfD: Ambiguity in FATAN2
    ... > The definition of FATAN2 would specify the required behaviours ... > for systems with and without negative zero. ... the Fortran document forbids having both ATAN2 ... I see Fortran doesn't specify the behavior of FATAN2 for NaN, ...
    (comp.lang.forth)