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
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 19th March 2002, 03:34
trchandra trchandra is offline
Member
 
Join Date: Sep 2001
Location: Orange County
Posts: 99
trchandra is on a distinguished road
Baan: 5.0b - DB: Oracle 8i - OS: HP-UX 11.0
Question zoom to different session

Hi,
I have two fields on a form, one is enum field and the other one is string. I wanted to provide zoom from second field to different sessions depending on enum value selected in the first field. How can I do that?
I thought I can use start.session, but without mentioning zoom option on the form, zoom (>) is not enabled. If I leave empty in the session for zoom on the form, when I zoom from that field, I am getting message saying that zoom session is not valid. Is there any workaround?

appreciate your help

regs
__________________
ravi
Reply With Quote
  #2  
Old 19th March 2002, 03:54
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Code:
second.field:
before.zoom:
	if first.field = tcyesno.yes then
		attr.zoomsession$ = "sessionone"
		attr.zoomreturn$ = "returnone"
	else
		attr.zoomsession$ = "sessiontwo"
		attr.zoomreturn$ = "returntwo"
	endif
I have illustrated using tcyesno domain. One could use a domain with multiple options and use a case statement instead of an "if". For the second field, fill the form with the first set of options.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.

Last edited by ~Vamsi : 10th June 2002 at 06:29.
Reply With Quote
  #3  
Old 19th March 2002, 03:58
trchandra trchandra is offline
Member
 
Join Date: Sep 2001
Location: Orange County
Posts: 99
trchandra is on a distinguished road
Baan: 5.0b - DB: Oracle 8i - OS: HP-UX 11.0
thanks Vamsi

Just I was looking at predefined variables..
__________________
ravi
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
Zoom to Session from Main Session ltannous Tools Development 5 2nd November 2004 10:49
zoom to item session monica1 Tools Development 11 28th September 2004 11:56
Zoom Session for selection bklunder Tools Development 1 27th November 2003 07:25
Opening zoom session E.Toniolo Tools Development 6 21st February 2002 21:02


All times are GMT +2. The time now is 06:14.


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