Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread DefaultExpression property of TField
Wed, Oct 29 2008 2:42 PMPermanent Link

"Royke"
I don't think this works as intended: "Specifies an SQL expression that is
assigned to the field if the user does not provide a value."

Is this functionality in place in EDB?

(The Delphi 7 Help text is not very clear, btw. Is this what 'value'
delivers when it is null in the table? Or does this value gets put into the
table, if a null is found before post? Should I see this in a TDBEdit? Or
just when I ask for a field's value?)

Royke

Wed, Oct 29 2008 3:16 PMPermanent Link

"Royke"
I misinterpreted the Help. Even when using the BDE, this value only shows up
when you create a new record. Pretty bad D7 Help text.

Royke

"Royke" <royke@canada.com> wrote in message
news:074423C3-2E35-4866-A580-2266B7068E5C@news.elevatesoft.com...
>I don't think this works as intended: "Specifies an SQL expression that is
>assigned to the field if the user does not provide a value."
>
> Is this functionality in place in EDB?
>
> (The Delphi 7 Help text is not very clear, btw. Is this what 'value'
> delivers when it is null in the table? Or does this value gets put into
> the table, if a null is found before post? Should I see this in a TDBEdit?
> Or just when I ask for a field's value?)
>
> Royke
>

Thu, Oct 30 2008 12:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Royke,

<< I don't think this works as intended: "Specifies an SQL expression that
is assigned to the field if the user does not provide a value."

Is this functionality in place in EDB? >>

No, EDB defines the default values at the physical column level, and does
not use the Delphi TDataSet/TField properties for default values.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image