Board index » delphi » Default values in Paradox dynamically created tables

Default values in Paradox dynamically created tables

Hi!

I know you can create a paradox table dynamically with
TTable.CreateTable. But how can you assign a default value as you would
do with the database desktop? There's no property for that in TField...
Anywayz, thanks for your help...

Guillaume M=E9tayer

 

Re:Default values in Paradox dynamically created tables


Quote
Guillaume Metayer <supp...@generation.net> wrote:
> Hi!

> I know you can create a paradox table dynamically with
> TTable.CreateTable. But how can you assign a default value as you would
> do with the database desktop? There's no property for that in TField...

It's part of the VchkDesc structure. You have to set it using
DbiDoRestructure. Check online ref for that. The Delphi example treats
about just this item.

Jasper

Other Threads