Board index » delphi » Setting Defaults on a Paradox table...

Setting Defaults on a Paradox table...

  Caption says it all:  Database desktop (when used to create a table)
allows you to set defaults for certain fields (ie. a boolean = True)  --
How can this be done at run-time, when creating a table?  (That's the only
thing I can't figure out...)

--
Jason Wallace
SL Software
Dark...@SLSoftware.reno.nv.us
--
"We are Microsoft.  You will be assimilated.  Resistance is Futile."
--

 

Re:Setting Defaults on a Paradox table...


Hi Jason,
You can change field defaults at runtime by using DbiDoRestructure
(BDE API) call. See examples at
http://www.borland.com/devsupport/bde/bdeapiex/dbidorestructure.html
--
Roman
(please remove STOPSPAM. in header)
URL:  www.rksolution.cz (Delphi corner)
MAIL: I...@rksolution.cz

Other Threads