mostrightfuture
26th April 2005, 10:13
HI friends,
Getting an error message when try to edit a form, as follows:
Index 267 out of dim [0] 266
Cannot continue in ottadvformedit (<26>) [bms.receive$]
what could be the problem and how resolve it?
Thanks in advance
Mahmood
greasedman
26th April 2005, 13:03
Maybe ur using a sort of array with an index out of dims.
Just like this:
long a(10)
long b
b = 11
a(b) = 3 <--- ERROR
or
b= -1
a(b) = 3 <--- ERROR
csecgn
26th April 2005, 14:16
Hi,
The meaning of the error message is, that any datastring that Baan creates from your Form (for display or storing is the formsfile) is too long. It seems to me that the max. line length is 266 chars and becomes too large during creation.
Regards
csecgn
rahul.kolhe22
23rd March 2011, 06:57
Hi,
I have a requirement where I have to create a duplicate of table and a single occ session linked to the table (including form attached).
But after creating the duplicate of the session I am unable to edit the form attached to it. I get error:
"index 267 out of dims [0] 266"
"Cannot continue in ottadvformedit (<170>)"
The orignal session which I copied also gives the same fatal error on editing the form linked to it.
Also their is no array field declared and used by me in the linked UI script.
I tried to search this topic on the form, but could not find the solution to this problem.
I think this error may be regarding the sort key defined for the session. I also tried changing it.
I also tried delinking and linking the form to the session, but could not resolve the problem.
What may be the reason for this error, also any way to resolve it?
Any suggestions are most welcomed.
Thanks and Regards.
--Rahul
baan_guru
24th March 2011, 07:26
Hi Rahul,
Check form related data in table ttadv300, check xpos field and update value to 1.
All The Best!!!
rahul.kolhe22
24th March 2011, 10:18
Hi Baan_guru,
Your trick have solved my problem. Thanks a lot for the solution, now I am able to edit the form.
Just for knowledge sake I want to ask some more question regarding same topic.
Is there any session where I cant edit the value for this field. I came across the session ttadv3105s000 where I can maintain the value for position 1, 2, 3, ... 9 but not for 0th position. I think atleast while creating the form we may be having some provision where we can set value for xpos for 0th position.
If not then how can we change it's value other the GTM?
Also in session ttadv3105s000 I am able to enter the value for xpos & ypos for position 1, 2, 3,... 9 but on clicking save and exit button the values are not saved.:confused: Is there any specfic reason because of which the values are not been saved or am I doing something wrong?
Thanks and Regards,
--Rahul
baan_guru
24th March 2011, 12:26
Hi Rahul,
Its glad to know that your problem is solved.
I would like to answer your questions-
1) You can not change value for zero sequence through any session(Except GTM). Zero sequence values updated when form is edited using 'ottadvformedit' utility and if there is any change in form position (which can be done using 'move window' option)
2) GTM and form editor are the only tools to change form position values of zero sequence .
3) You can edit form position value for any sequence from 1 to 9 by hitting 'modify' option from 'Edit' menu of session ttadv3105s000 and then save exit.
:):):)
All The Best!!!