Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 21st November 2006, 19:34
schweizer schweizer is offline
Senior Member
 
Join Date: Sep 2004
Posts: 118
schweizer is on a distinguished road
Baan: c4/LN - DB: mssql - OS: all
button on Form
Baan: ERP LN 6.1
C/S: None/Unknown

What a confusion.
I created a print session.
I added the form and report to the session.
Now I set the debugger on this session, and then I press the print button it does not stop on the "choice.print.data". section.
I have to connect the button to the script, am I right?
If yes, how?
I found the form commands and there I can define a new button, and it works.
I mean, suddenly all the buttons are working.
Now I delete the new one and the print button is still working.
I can not find the generated buttons and the settings of them.
I am just woundering.
Can someone help me?
Schweizer

Last edited by schweizer : 21st November 2006 at 19:46.
Reply With Quote
  #2  
Old 22nd November 2006, 07:02
mr_suleyman's Avatar
mr_suleyman mr_suleyman is offline
Guru
 
Join Date: Aug 2004
Posts: 639
mr_suleyman is an unknown quantity at this point
Baan: Baan IV - DB: Oracle - OS: HP UX, IBM AIX
I don't understand your case clearly. But you can add new generated button from maintain form. Firstly go Spec. Options and add number 48 it means user choice.0 and fill all information about it. After that go buttons part and add your number there and dump your form. Now you have generated form.
Add your session script followings :

Quote:
choice.user.0:
on.choice:
execute(print.data)
That's all.


Good luck !
Reply With Quote
  #3  
Old 22nd November 2006, 11:05
schweizer schweizer is offline
Senior Member
 
Join Date: Sep 2004
Posts: 118
schweizer is on a distinguished road
Baan: c4/LN - DB: mssql - OS: all
Sorry, I forgot to mention, it is LN.
But Thank you anyway.
Reply With Quote
  #4  
Old 22nd November 2006, 12:00
george7a's Avatar
george7a george7a is offline
Guru
 
Join Date: May 2004
Location: Nazareth
Posts: 1,490
george7a is on a distinguished road
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 - DB: MS SQL, Oracle - OS: Windows 2000, 2003 & UNIX
Hi,

Are you talking about a dynamic session?

- George
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote
  #5  
Old 22nd November 2006, 12:15
schweizer schweizer is offline
Senior Member
 
Join Date: Sep 2004
Posts: 118
schweizer is on a distinguished road
Baan: c4/LN - DB: mssql - OS: all
Yes it Dynamic and Intergrated.
The problem is, it does not stop on the choice.cont.process section.
Now I created a new session and I want to add the cont.process, how can I do it?
Schweizer

Last edited by schweizer : 22nd November 2006 at 12:21.
Reply With Quote
  #6  
Old 22nd November 2006, 12:51
bigjack's Avatar
bigjack bigjack is offline
Senior Member
 
Join Date: Feb 2004
Location: India
Posts: 212
bigjack is on a distinguished road
Baan: Baan IVc4 , SSA ERP LN - DB: informix - OS: HP UX
Buttons in LN is a boon.

Create a form command and choose function in the drop down box. Now code the rquired logic which you were going to code in cont.process in a new function(make sure you add the keyword 'extern' before the function name)
Add the name of function in the form command created above.

Buzz me if you need any further help
__________________
Quote:
"I dont believe in miracles...I rely on them"
Reply With Quote
  #7  
Old 22nd November 2006, 13:24
schweizer schweizer is offline
Senior Member
 
Join Date: Sep 2004
Posts: 118
schweizer is on a distinguished road
Baan: c4/LN - DB: mssql - OS: all
Thank you, bigjack
it works perfectly.
Only one question left, but not really important, cause time will tell.
How can I delete the buttons what are created be default, from the form.
Thanks again
Schweizer
Reply With Quote
  #8  
Old 22nd November 2006, 14:00
dilipk.pandey's Avatar
dilipk.pandey dilipk.pandey is offline
Senior Member
 
Join Date: Oct 2005
Location: India- Delhi
Posts: 102
dilipk.pandey is on a distinguished road
Baan: BaaN IV,V,SSA ERP LN6.1 - DB: Oracle, SQL Server - OS: Windows
Quote:
Originally Posted by schweizer
Thank you, bigjack
How can I delete the buttons what are created be default, from the form.
Select the session,Go to Standard Commands from specific and there you can remove the unwanted buttons...

Enjoy.
Dilip.
Reply With Quote
Sponsored Links
  #9  
Old 22nd November 2006, 14:17
schweizer schweizer is offline
Senior Member
 
Join Date: Sep 2004
Posts: 118
schweizer is on a distinguished road
Baan: c4/LN - DB: mssql - OS: all
Thank you very mutch Dillip.
Reply With Quote
  #10  
Old 22nd November 2006, 15:56
lbencic's Avatar
lbencic lbencic is offline
Guru
 
Join Date: Dec 2001
Location: Lisle, IL, USA
Posts: 1,148
lbencic will become famous soon enough
Baan: 2.2d - LN - DB: most - OS: most
Just adding, if you have an old:

choice.cont.process:

section, you can make a Form Command calling the function:

exec.cont.process()

And it will trigger that choice.cont.process section. The same is true for the old choice.user.0 etc. sections. For backward compatibility.
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
SSA ERP LN 6.1 - Help button on dialog sessions form i96nds Tools Development 0 1st November 2005 13:21
Baan Performance Tracing Questions thomas_b Performance & Tuning 5 25th July 2005 11:22
Form Button for a Standard Command baan_fun Deutsches Forum 2 13th May 2004 11:45
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 04:57.


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