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

User login

Frontpage Sponsor


How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
200 - 500 GB
500 - 800 GB
800 - 1200 GB
1200 - 1500 GB
1500 - 2000 GB
> 2000 GB
Total votes: 43

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 13th December 2006, 21:28
Cancoon2000 Cancoon2000 is offline
Join Date: Feb 2004
Posts: 41
Cancoon2000 is on a distinguished road
Baan: BaaN IVc3 - DB: Oracle 7.3.4 - OS: Win Nt
Updating specific records in a Multi-Occ Form
Baan: Baan IVc3
C/S: Client

Hello All,
As per screen shot and code attached, I am expecting that while counter x is incrementing this means that I am checking the table field ticst002.qcrs of the corresponding occurrence number (record pointer is also incrementing). If my assumption is right than I have an issue as always the condition is not fulfilled (I think the record pointer is not moving, it is stuck at a single record most probably on the first marked record).

If my coding has something wrong can you enlighten me?

Thank you for your feedbacks
Attached Files
File Type: doc Multi-occ-Code.doc (49.0 KB, 46 views)
Reply With Quote
Old 14th December 2006, 00:23
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,192
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Here is what I did:
choice.user.2:		|Pressing on button Update - OPEN
.other code here

long x
for x = 1 to filled.occ
	if(mark.table(x) = 1) then
                          | For each marked record call update.rec

function void update.rec()
| Check ticst002.qcrs for each record and modify accordingly.
	If ticst002.qcrs <> ltoe(1) then
		on case par.qcr.status
		case 1:
			ticst002.qcrs = ltoe(1)
		case 2:
			ticst002.qcrs = ltoe(2)
 	             ...set other table fields

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Old 15th December 2006, 05:53
Cancoon2000 Cancoon2000 is offline
Join Date: Feb 2004
Posts: 41
Cancoon2000 is on a distinguished road
Baan: BaaN IVc3 - DB: Oracle 7.3.4 - OS: Win Nt
You Rock

Thank you very much Mark, it works great.
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
Multi-Occ Form read specific records Cancoon2000 Tools Development 2 29th November 2006 20:40
Creating Multi Occ Display Form ahulikavi Tools Development 20 7th October 2004 15:58
deleting multi records via form Caner.B Tools Development 3 3rd June 2002 19:40

All times are GMT +2. The time now is 21:50.

©2001-2018 - -