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

User login

Frontpage Sponsor


How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
200 - 500 GB
500 - 800 GB
800 - 1200 GB
1200 - 1500 GB
1500 - 2000 GB
> 2000 GB
Total votes: 77

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 17th September 2019, 18:03
ken bohnenkamp ken bohnenkamp is offline
Senior Member
Join Date: Jul 2002
Posts: 103
ken bohnenkamp is on a distinguished road
Baan: B40C C4 - DB: Informix - OS: Unix
Unhappy Type 3 multi occurrence form
Baan: Other/Unknown
C/S: None/Unknown

Is there any way to add a temp field to the header section of a type 3 multi occurrence form. I have defined a temporary external field in my script but when I add it to the top of the form (it's not an occurring field) and then run the form, it shows the field fine but will not let me modify the field. Any help would be appreciated.
Reply With Quote
Old 17th September 2019, 23:17
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,371
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Is it just not letting you enter information? Have you checked the form field type to make sure it can be modified.

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
Old 18th September 2019, 09:46
günther günther is offline
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 595
günther is on a distinguished road
Baan: IVc4 - DB: Informix - OS: HP-UX

maybe the function single.fields.on.mocc.form() can help. See e.g.

Reply With Quote
Old 19th September 2019, 14:27
ken bohnenkamp ken bohnenkamp is offline
Senior Member
Join Date: Jul 2002
Posts: 103
ken bohnenkamp is on a distinguished road
Baan: B40C C4 - DB: Informix - OS: Unix
Type 3 form

Yes, the field is marked as input, doesn't make a difference. Cannot edit the field. Does it have something to do with a type 3 form. Is it thinking the field is a key field ?
Reply With Quote
Sponsored Links
Old 20th September 2019, 16:50
BaanInOhio BaanInOhio is offline
Senior Member
Join Date: Oct 2005
Location: Northeast Ohio
Posts: 196
BaanInOhio is on a distinguished road
Baan: Baan 4c4, 5C, LN - DB: Informix, Oracle, SQL - OS: HP UX, Win2K
You're pretty limited on what you can do in the header of type 3 forms. If you add the field as an extern in the script and on the form as a single occurrence field in the header portion, you will be able to modify the field on the form and capture it in the check.input section for the field in your script only when a 'find' (bowtie button) is done. Otherwise, all fields in the header are set to read-only, including the local extern field.

Your best option is probably to add the new field as a 'display' single occurrence field in the header, add a specific option and a button with a label "change <fieldname>", and a choice section in the script to execute a session to enter/change the field. After.choice with a 'display' for the field keeps it current. Since you're on Baan4, you can try to replace the session with an input.string() call to capture the single field.

extern  domain  tcmcs.str6  test1
#pragma used dll "ottdllinputstr"    |  Required for 'input.string' call.

    | set up user.0 special option and button in form.  Add field in header as 'display'.

    if (input.string("Title of input box", "Label for field", 6, 6, test1)) then
           | numbers are length of string, number of visible fields.
Reply With Quote
Old 20th September 2019, 17:35
ken bohnenkamp ken bohnenkamp is offline
Senior Member
Join Date: Jul 2002
Posts: 103
ken bohnenkamp is on a distinguished road
Baan: B40C C4 - DB: Informix - OS: Unix

Yes, thanks for your input. I am finding the limitations of the type 3 form to be exactly as you state. I figured there was no easy way to do what I want to do. So I am looking into other options to accomplish what I need to do. Again, thanks for your help.
Reply With Quote

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
Sum on a multi occurrence form per line alexpreyer Tools Development 4 20th September 2010 12:13
Default value on form type 3 (multi-occ+view+main) Neal Matthews Tools Development 2 13th February 2007 11:21
Baan & Connectware Driver Hangs Rajasekhar Tools Administration & Installation 2 18th February 2004 22:32
Marking on Multi Occurrence Form using AFS Jothilingam AFS/DDC/OLE: Function servers 2 29th January 2004 08:43
Diifferance between dynamic form and multi occurrence loveneesh Tools Development 2 24th June 2003 08:22

All times are GMT +2. The time now is 05:13.

©2001-2018 - -