Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DefaultExpression does not seem to work on dynamic fields ....

Status
Not open for further replies.

Karen99

Programmer
Aug 5, 2003
113
ZA
table1.fields[0].DefaultExpression does not seem to work. I am using delphi 5 and paradox 7.

It does work if I type the defaultexpression in on a persistent field.
Eg. this work : Table1ClientNr.DefaultExpression.
But this also just work if I type the value in at design time. Delphi does not pick this up automatically if I add a persistent field.

It seems that Delphi does not pick this information up from Paradox ? Can anybody tell me why ? The same seems to happen to maxvalue and minvalue.

Please help !!!
 
When you assign something to the DefaultExpression make sure that the Active property of the table is set to False.

Once the DefaultExpression is assigned you can open the table.

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top