Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 49

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 26th February 2002, 12:38
Smiffy's Avatar
Smiffy Smiffy is offline
Join Date: Oct 2001
Location: UK
Posts: 64
Smiffy is on a distinguished road
Baan: Baan IV - DB: Baan - Oracle - OS: UNIX
old value of field ??? (maintain session)

Is there an easy way to do this ? I have seen the baan help on on.old.occ etc.

I simply wish to check if a field value has changed since it was last read, (when saving the record). I then wish to do some extra processing if this is the case (& if the new value is a required value).

Is there a function to do this, rather than storing the field value after read and checking it before write/rewrite ?
Reply With Quote
Old 26th February 2002, 15:13
evesely's Avatar
evesely evesely is offline
Join Date: Dec 2001
Location: Lisle, Illinois USA
Posts: 412
evesely is on a distinguished road
In the before.rewrite, you could use on.old.occ. If you only had a small number of fields you wanted to check, this could be done by saving the current values in global variables and then doing a comparison in an on.old.occ call. If you had a lot of fields to check, I suppose you could do something slick using a table record (e.g., rcd.ttdsls040 and a based variable with alloc.mem) and an on.old.occ call.
Reply With Quote
Sponsored Links

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintain Generic Units ttaad1106m000 mark_h Tools Development 2 5th March 2004 14:43
additional field in Session No. tfgld0111m000 (Maintain Transaction Type) for Dimensi naresh.baan Enhancements 0 21st August 2003 06:32
Session Type - Maintain learner Tools Development 3 27th May 2003 18:10
cannot access price field of maintain so lines wanabegudatbaan Distribution, Transportation & Warehousing 4 15th March 2003 03:01

All times are GMT +2. The time now is 04:44.

©2001-2018 - -