Hi,

Something like:

TableOne.orig().fieldX

should do the trick.


Kuldar Krabbi


-----Original Message-----
From: nabilwilson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 7:28 PM
To: [email protected]
Subject: [development-axapta] validate / modifed ?




Hello all,

This is a really simple problem, but somehow I
just could not make it. Here's an example:

I have two tables (e.g. "TableOne" and "TableTwo"), which both have
one textfield (let's call it  "fieldX").

Then I have a grid in a form, where I have one column which data
comes from TableOne.fieldX.

I want to prevent that user can not _modify_ existing value in
TableOne.fieldX, IF the value exists in TableTwo.fieldX.

I think there's two ways to do it. First use a somekind of relation
in tables. Second, to put some simple code to this column in a grid,
e.g. into modified- or validate- methods.

With the code solution, I have this problem. How to get
the old value (the one that user modified)?

this.valueStr() gives me the new just typed value.









Yahoo! Groups Links











Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to