This is a repost from yesterday, as I haven't seen the original come through
yet - if it has been received before, my apologies.
**************** Previous message **********************
Hi all,
I have a table in which I want to programmatically add a default value to a
field. Using Database Desktop to do this is as simple as adding a value to
the "Default" box under Validity Checks when you select Restructure Table.
Unfortunately, the table already exists at client sites, so I want to be
able to do this in code. I imagine that it will be something to do with
DbiDoRestructure? The app is written in Delphi 1, so I don't know if I can
get at the default value or not.
Anyone done this before?
Thanks,
Mike
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"