pjohns
23rd April 2002, 11:17
I've created a new session but I would like to make some "Order" options available from the drop down "Order" menu. Where do I specify these?
Thanks
PJ
(Novice Developer)
OmeLuuk
23rd April 2002, 12:39
Session "Maintain Forms" (ttadv3100m000), then "Maintain Form Standard Options" (ttadv3110s000), then check option 20.
pjohns
23rd April 2002, 13:00
This makes the menu available but where do I define my order options? :confused:
Cheers
PJ
OmeLuuk
23rd April 2002, 13:09
The sort order is an index on the main table of the session. To add an index: use "Maintain Table Definitions" (ttadv4120m000), then go to "Maintain Table Indices" (ttadv4121s000), via the button.
pjohns
23rd April 2002, 13:46
Omeluuk,
Thanks for your reply.
I thought it was to do with table indices, but....
I checked another session that had been created by a third party. Here the order menu has 7 options to pick from. When I check the table def for this session there is only one index set. Could it be a script thing??
Thanks
PJ
OmeLuuk
23rd April 2002, 13:59
I don't know that session, maybe it is based on another table than the main table? You cannot add a key value via a script, you can switch to different keys with to.key(key_number).
pjohns
23rd April 2002, 14:42
Omeluuk,
I was mis-interrepting the Table Indices screen.
I was getting the Index Number and Index Parts mixed up. I thought all indices were defined under the same screen (index number) :eek:
With your guidance I can now go off and do what I need to do.
Thanks for your help!
PJ
pjohns
23rd April 2002, 16:02
Omeluuk,
OK I've got my options showing on the Order menu and I can select the options and search by that value but I have one small problem.
If I change which field to order by and if that field is blank on the form at the time of changing the order, Baan shows the "Find" window but it will not allow me to enter anything into the find box. If the record has data in the "Order by" field then this data will appear in the Find box and Baan will allow you to overtype this and enter your search value.
Have I left something out?
Thanks
PJ
OmeLuuk
23rd April 2002, 16:24
There is some kind of speciality on the way the Find acts on a different index. I vaguely remember to have done some things on that in the past too. But sorry, forgot.
In the form options I assume you also checked option 6 (Find). Maybe it (ie what I forgot) had to do with form option 14 (Insert) on the main form that had to be checked to be able to do a find and enter data in the search "form" that comes up in case it was empty in the first place. Play around with the form options.
It could also be that is had to do with the start option of the session... nei, doubt...