Re: create access table with ado sql (cannot change table properties)

From: Brian Hollister (bhollisterATfuturaintlDOTcom)
Date: 03/24/05


Date: Thu, 24 Mar 2005 08:13:33 -0500

Hello,

You'll want to use an ALTER statement on an existing table to change its
design.

hth,

brian

-- 
Got a big event coming up? Let us
help coordinate your event. For more
visit www.kissemgoodbye.com
"ercan" <ercanaktin@pcm.com.tr> wrote in message
news:4242a743$1@newsgroups.borland.com...
> we have an access database and we want to modify the table field
> properties.like format of  double field to Currency .
> is it possible to do it with sql ado.if yes how?
> that works:
> ADOCommand1.CommandText :=
>
> 'CREATE TABLE MUSTERI_ODEME ' +
>
> ' ( ' +' NAME TEXT(20) WITH COMP NOT NULL' +
>
> ' )';
>
> ADOCommand1.Execute;
>
> but this one gives error :
>
> ADOCommand1.CommandText :=
>
> 'CREATE TABLE MUSTERI_ODEME ' +
>
> ' ( ' +
>
> ' NUMBER DOUBLE WITH FORMAT "CURRENCY" ' +
>
> ' )';
>
> ADOCommand1.Execute;
>
>


Relevant Pages

  • Re: Example with M$ Access
    ... try www.delphi.about.com and look for the ADO programming course. ... help coordinate your event. ...
    (borland.public.delphi.database.ado)
  • Re: Any way to keep TADOStoredProc parameters
    ... help coordinate your event. ... > change the ProcedureName property? ...
    (borland.public.delphi.database.ado)
  • Re: TADOConnection.OpenSchema documentation???
    ... You can find more info at microsoft, look for the ADO Programmers Reference. ... help coordinate your event. ...
    (borland.public.delphi.database.ado)
  • Re: Know the type of a field!
    ... TField has a property called DataType that may help you. ... help coordinate your event. ...
    (borland.public.delphi.database.ado)
  • Re: Where *IS* Tom?
    ... > out non-truths to put the smackdown on Zoltak. ... Then he plagued the group with his design. ... Now I'm not saying Brian hasn't contributed to the field. ...
    (sci.crypt)