Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
I manage and monitor my Baan server/application with
HP Openview
7%
IBM Tivoli
14%
BMC Patrol
2%
Nagios
11%
Other
30%
What are you talking about?
37%
Total votes: 120

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 29th July 2010, 12:33
iiparrag iiparrag is offline
Junior Member
 
Join Date: Jul 2008
Posts: 12
iiparrag is on a distinguished road
Baan: IV - DB: SQL Server - OS: Windows 2003 Server
Question default values empty after copying std form
Baan: Baan IVc4
C/S: None/Unknown

I don't know the diference between two situations:

I'm trying to customize a standard session: tipcs2451m000. So I created a new one in my actual VRC. Icopied the original program source and report because I wanted to change them.

I had just add some new lines in the program source code to show more information in the report, and it works fine.

But now, I want to insert a new field in the form. As it's a reporting session, the standard form contains some fields to select a range, and some other fields of tcyesno domain. So, before inserting my new field (another tcyesno), I copy the standard form to my actual VRC (the production VRC, but in a test server).

When I run the session with the standard form, all the tcyesno fields take default values (some YES and others NO). And I checked that I don't have default values saved for my user. I tried with other test user and the same values were shown. I checked the ttadv990 table.

But when I copy this form to my actual VRC and BEFORE CHANGING ANYTHING, y create RTDD for the form, and just in case for the session again(Before each step I logoff from BaaN, I login again). I run the session but the tcyesno fields are shown empty.

I checked with debugger until get.screen.defaults (completely standard code) and different fields' sections.

Which can be the diference? I'm using BaanIVc4 (SP17 fot Tools)

Thank you so much.

Ione
Reply With Quote
Sponsored Links
  #2  
Old 29th July 2010, 13:54
george7a's Avatar
george7a george7a is offline
Guru
 
Join Date: May 2004
Location: Nazareth
Posts: 1,353
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
If the company changes (when changing the VRC), it can do the difference, since its part of the key index in ttadv990.
__________________
_
George Abdo
Baan Technical Consultant


Baan 2 Excel / PDF / XML * Email * Baan Mail-Merge * Baan Hot Link * Baan Color
Reply With Quote
  #3  
Old 29th July 2010, 14:39
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Louisville, KY, USA
Posts: 5,010
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
First do what George recommends. Then another thing to check - after copying the form make sure the form actually has defaults set for those yes/no fields. I have seen some forms get out of sync from the standard VRC. Also make a change or add some text to make sure you know you are running the form you just moved.
__________________
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 30th July 2010, 07:36
iiparrag iiparrag is offline
Junior Member
 
Join Date: Jul 2008
Posts: 12
iiparrag is on a distinguished road
Baan: IV - DB: SQL Server - OS: Windows 2003 Server
Hi again.

The VRCs are at the same company. I had previously checked the default values for tcyesno fields. All of them have "1" value as default. Some of them are mandatory and the others take a value throuugh program, depending on the other selected values.

I inserted my new field with a default value, an I can see it perfectly. But the default I changed for an existing field is not able to see. and I converted to RTDD.

Thanks.

Ione
Reply With Quote
  #5  
Old 30th July 2010, 10:32
iiparrag iiparrag is offline
Junior Member
 
Join Date: Jul 2008
Posts: 12
iiparrag is on a distinguished road
Baan: IV - DB: SQL Server - OS: Windows 2003 Server
I didn't realise, but 1 value was set at the "print conditions" field, not at the "default value" field. I was surprised to see "1" in all the fields. I had to put the default values at the customized form by myself. And now it works.
I supose that if I want to use some other values for my user, I'll save them and there will be no problem, won't be?

Thanks a lot.

Ione
Reply With Quote
  #6  
Old 30th July 2010, 14:39
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Louisville, KY, USA
Posts: 5,010
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Should not be a problem if you set the default field values to what your users want. In our case we just had a bad form from the SP we installed, not sure about your case.
__________________
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
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
Undocumented Functions & Variables george7a Tools Development 79 3rd August 2009 09:58
Programming Question mr_suleyman Tools Development 34 24th February 2009 12:07
form code not allowed when copying a session alexpreyer Tools Administration & Installation 3 1st March 2007 10:25
Setting a form field default value pjohns Tools Development 2 27th March 2002 09:31


All times are GMT +2. The time now is 01:25.


©2001-2010 - Baanboard.com - Baanforums.com