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
29%
500 - 800 GB
3%
800 - 1200 GB
8%
1200 - 1500 GB
8%
1500 - 2000 GB
12%
> 2000 GB
22%
Total votes: 76

Baanboard at LinkedIn


Reference Content

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 19th September 2019, 12:42
novaplus novaplus is offline
Junior Member
 
Join Date: Jun 2019
Posts: 8
novaplus is on a distinguished road
Baan: 6 - DB: sql - OS: windows
Question Get values from modeless session
Baan: Other/Unknown
C/S: None/Unknown

Hello,

Is there any way to get values from modeless session: start.session(MODELESS,"tc...",,)
on save/close command?

Example:
Open session tcibd0501m000
On create new item we open custom session (tcibd0101s004) using code:

choice.add.set:
before.choice:
start.session(MODELESS,"tcibd0101s004","", "")
choice.again()

We use choice.again() function to prevent opening of standard session (tcibd0101s000)

We expect to get our new Item ("tcibd001.item") on save or on save and close command from session tcibd0101s004.

Last edited by novaplus : 19th September 2019 at 14:20.
Sponsored Links
  #2  
Old 19th September 2019, 17:14
novaplus novaplus is offline
Junior Member
 
Join Date: Jun 2019
Posts: 8
novaplus is on a distinguished road
Baan: 6 - DB: sql - OS: windows
Solution:

1. Create new extern variable in primary session (tcibd0501m000):
extern domain tcitem itmno

2. Use function put.var to put variable from second session to parent one:
put.var( parent, "itmno", tcibd001.item )
Closed Thread


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
Open a Session in MODELESS mode with zoom.to command Altrev Tools Development 3 31st May 2019 02:58
Handling Unit functionality baazigar Distribution, Transportation & Warehousing 4 19th February 2012 15:54
Field Values Not Showing up in Session sivasankari Tools Development 2 21st January 2010 15:47
zoom to correct business partner jojovalenton Tools Development 5 14th October 2009 10:26
Returning multiple values from zoom session ayoobi Tools Development 15 17th January 2007 15:34


All times are GMT +2. The time now is 17:48.


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