Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 26th February 2002, 12:38
Smiffy's Avatar
Smiffy Smiffy is offline
Member
 
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
Sponsored Links
  #2  
Old 26th February 2002, 15:13
evesely's Avatar
evesely evesely is offline
Guru
 
Join Date: Dec 2001
Location: Lisle, Illinois USA
Posts: 411
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
Reply


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 01:40.


©2001-2017 - Baanboard.com - Baanforums.com