Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
18%
200 - 500 GB
28%
500 - 800 GB
3%
800 - 1200 GB
7%
1200 - 1500 GB
7%
1500 - 2000 GB
13%
> 2000 GB
24%
Total votes: 71

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 1st August 2019, 10:20
alibaba's Avatar
alibaba alibaba is offline
Member
 
Join Date: Jan 2003
Location: Earth
Posts: 30
alibaba is on a distinguished road
Baan: IVc2/IVc4/V -
Question How to control Vertical ScrollBar in sub-session when the sessions is synchronized
Baan: Baan IVc4
C/S: Client

Hi Experts:
I made a Sync. session between maintain session(main-session) and display session(sub-session). The number of records for display session(sub-session) may exceed the form limit(eg.Occurrences=6). But when I set the scrollbar status(fattr.scrollbar = true) in the script for the sub-session,When click on the vertical scrollbar of sub-session, the next.set action is performed on the main-session.
I think it's probably the control that's been transferred to the main-session through function witch.to.process(parent) (in the sub-session) at this point.(But the forms of the two sessions don't overlap!?)So how can I clicked vertical scrollbar on the sub-session and produce an action that only works on the sub-session?
Thanks for any suggestions!
Attached Images
File Type: png Q2.png (64.5 KB, 17 views)
__________________
----------------------------------------
Reply With Quote
  #2  
Old 2nd August 2019, 13:26
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,316
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
When I did something like this I had to pass those specific events to the subsession. So the double arrows worked on the main session then the single arrows. I think in my case the bottom session was really the controlling session - then I passed the next set (etc) to the top session.
__________________
Mark

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
  #3  
Old 2nd August 2019, 13:28
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,316
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Yep bottom session was really the main session. Below snippet of code.
Code:
choice.next.view:
after.choice:
	hold.rfq = tdexi010.rfqnum
	export("hold.rfq", hold.rfq)
	instruction = next.set
	switch.to.process(process.exi0109,SWITCH.SAME.SIZE + SWITCH.WITHOUT.INTERACTION)
	import("hold.rfq", hold.rfq)
	tdexi010.rfqnum = hold.rfq
	get.header.text()
	execute(find.data)
	execute(first.set)
__________________
Mark

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
  #4  
Old 11th August 2019, 13:48
alibaba's Avatar
alibaba alibaba is offline
Member
 
Join Date: Jan 2003
Location: Earth
Posts: 30
alibaba is on a distinguished road
Baan: IVc2/IVc4/V -
Thumbs up

Quote:
Originally Posted by mark_h View Post
When I did something like this I had to pass those specific events to the subsession. So the double arrows worked on the main session then the single arrows. I think in my case the bottom session was really the controlling session - then I passed the next set (etc) to the top session.
Thank you very much Mark, I did some tests, never found a good way to solve this problem, and finally I decided to give up this idea.
Thank you for your help!
__________________
----------------------------------------
Reply With Quote
Sponsored Links
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
Distribution & Manufacturing Documents for Baan baan.tools General Discussion & Chat 17 14th April 2015 05:11
Zoom Menu Return Multi Value layswan Tools Development 3 24th July 2012 09:42
Behaviour main display session as synchronised dialog en@frrom Tools Development 3 3rd April 2010 13:08
Using scanner to control session Francesco Tools Development 3 14th March 2005 22:09


All times are GMT +2. The time now is 22:57.


©2001-2018 - Baanboard.com - Baanforums.com