Baanboard.com

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

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
37%
Manual into existing VRC
5%
Manual into new VRC
21%
Total votes: 43

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 3rd May 2018, 14:57
ken bohnenkamp ken bohnenkamp is offline
Senior Member
 
Join Date: Jul 2002
Posts: 100
ken bohnenkamp is on a distinguished road
Baan: B40C C4 - DB: Informix - OS: Unix
Occuring form question
Baan: Baan IVc4
C/S: None/Unknown

I have an form that has 10 occurrences. I might enter 5 occurrences and then on the 6th occurrence, I hit a condition that asks the question "Do you want to continue?"
If the user answers yes, then just continue on but if the answer is no, I want to save the 5 good occurrences that were already entered, but I do not want to update the
6th occurrence, I just want it removed and start entry of the 6th occurrence over again. I tried the command execute(recover.set) but that lost all my changes to the previous
5 occurrences. Is there a way to do this? Any help would be appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 3rd May 2018, 15:47
vahdani's Avatar
vahdani vahdani is offline
Guru
 
Join Date: Aug 2002
Location: Cologne, Germany
Posts: 436
vahdani is on a distinguished road
Baan: all - DB: all - OS: Unix / Win2K
Hi,

exactly for this reason there is a standard function enable.save.on.occ.change()
I use this in ERPLN in the following manner. Your profile says Baan4. I am not certain if this available in Baan4

Code:
after.form.read:
	|* Force implicit save after each occurence.
	enable.save.on.occ.change()
__________________
May the force be with you!
Reply With Quote
  #3  
Old 14th May 2018, 15:12
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,352
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
There was a thread with a replacement on Baan 4 for enable.save.occ.change()

http://www.baanboard.com/baanboard/s...82469#poststop
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
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
Linked Form Command question benito Tools Development 1 13th April 2011 17:56
Form Error Question mark_h Tools Development 5 8th December 2009 15:29
Occuring records on a type 2 form ken bohnenkamp Tools Development 2 6th November 2002 18:48
Quick Form Question... Eddie Monster Tools Development 3 19th July 2002 17:09
tfacp9450m000 FIBU Brush Up Kai's Forum Users Deutsches Forum 1 16th November 1999 00:00


All times are GMT +2. The time now is 01:33.


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