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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

