Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread "Semi-persistent" Fields
Sun, Apr 9 2006 12:31 PMPermanent Link

Heiko Knuettel
Just a thought :

I'd love to have fields that behave like a hybrid of persistent fields and calculated fields.

Treated by Delphi like persistent fields, so you can edit/post in every DBaware control, but stored only temporarily in memory, not saved to the database, initialized with nulls on dataset.open and dumped on dataset.close .

Would be great to store temporary information like is-this-row-selected without having to copy the whole table into memory, and also great to process user input in DBAware controls without using OnGetText/OnSetText.

What do you think ?

Cheers,

Heiko Knuettel

Mon, Apr 10 2006 3:36 AMPermanent Link

"Ralf Mimoun"
Heiko Knuettel wrote:
....
> Would be great to store temporary information like
> is-this-row-selected without having to copy the whole table into
> memory, and also great to process user input in DBAware controls
> without using OnGetText/OnSetText.
>
> What do you think ?

Good idea. You can do that right now with canned queries, but I think it's
complicated to add it for TDBISAMTable.

Ralf
Mon, Apr 10 2006 4:47 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Heiko,

<< I'd love to have fields that behave like a hybrid of persistent fields
and calculated fields.

Treated by Delphi like persistent fields, so you can edit/post in every
DBaware control, but stored only temporarily in memory, not saved to the
database, initialized with nulls on dataset.open and dumped on dataset.close
..

Would be great to store temporary information like is-this-row-selected
without having to copy the whole table into memory, and also great to
process user input in DBAware controls without using OnGetText/OnSetText.

What do you think ? >>

It's a great idea.  I'm not sure if it would be possible to do or not, but
it certainly is at least worth taking a look at.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image