Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread NewValue
Mon, Nov 5 2007 9:03 AMPermanent Link

"Andrej Bivic"
When I enter some data in a grid (sting field), I would like to execute a
BeforePost event, with a NewValue of the field. But, NewValue is null,
although, I enter a string.
please,advise

Andrej

Mon, Nov 5 2007 10:03 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Andrej


Use the field value. At this stage its been changed but not committed.

Roy Lambert
Mon, Nov 5 2007 10:07 AMPermanent Link

Eryk Bottomley
Andrej,

> When I enter some data in a grid (sting field), I would like to execute a
> BeforePost event, with a NewValue of the field. But, NewValue is null,
> although, I enter a string.
> please,advise

Just use Field.Value. The NewValue property is designed for use when
cached updates are active.

Eryk
Mon, Nov 5 2007 11:33 AMPermanent Link

"Andrej Bivic"
Well, Ive checked. Since, the field value is null befere editing, I get null
as a value just befere filling another query with entered value as a
parameter. And that is all before posting. Ive tried with a .Value and
..NewValue.

Andrej

"Roy Lambert" <roy.lambert@skynet.co.uk> wrote in message
news:0060A118-494E-4B26-8066-E108AC6D7BB2@news.elevatesoft.com...
> Andrej
>
>
> Use the field value. At this stage its been changed but not committed.
>
> Roy Lambert
>

Mon, Nov 5 2007 11:49 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Andrej


Post a project to the binaries so we can have a look.

Roy Lambert
Mon, Nov 5 2007 1:26 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Andrej,

<< When I enter some data in a grid (sting field), I would like to execute a
BeforePost event, with a NewValue of the field. But, NewValue is null,
although, I enter a string.  please,advise >>

Eryk is correct - just use Value instead.  DBISAM does not use the NewValue
property at all.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image