This is a discussion on Re: Display Array within the Informix forums, part of the Database Server Software category; --> --Apple-Mail-2-852084068 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed I'm not sure what you mean - normally you just make ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| --Apple-Mail-2-852084068 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed I'm not sure what you mean - normally you just make the field =20 'noentry', then use NEXT FIELD fieldname. Informix will try to go to that field and provided its the last field =20= in the row - it will find it can't (because its noentry) and will =20 proceed to the next row instead... By "autonext" - I meant it will automatically go to the next field - =20 not that you make the field 'autonext'.... If its still giving you trouble - send me some sample code and I'll see =20= if I can see what you're doing wrong... On 9 Jul 2005, at 05:53, Prateek.Jain@ril.com wrote: > I have done as per the logic > and filled the dummy variable with some default value > But without touching the field autonext does not seems to be possible > Is there any way without touching the field autonext activates > > > Regards, > Prateek Jain > Reliance Industries Limited > (M) - 09426387793 > (O) - 079 - 30215010 (Ext - 383) > <unknown.gif>Mike Aubury <mike.aubury@aubit.com> > > > <unknown.gif> > <unknown.gif> > Mike Aubury <mike.aubury@aubit.com> > > 07/08/05 06:51 PM > <unknown.gif> > > To: Prateek.Jain@ril.com > cc: Marco Greco <marco@4glworks.com>, informix-list@iiug.org > Subject: Re: Display Array > > > The normal way in Old 4GL was to have a dummy 'noenty' column at the =20= > end of > the screen/program array. > > In the BEFORE ROW you'd check if you were on the row you wanted and =20= > if next - > 'NEXT FIELD dummy', the autonext would then take it to the next line =20= > - where > it'd check again etc etc... > > To implement a display array - basically you'd do the same (using an =20= > input > array), but have some dummy first field too that was invisible =A0and = =20 > make all > the other fields noentry... > > In recent 4GLs (Aubit4GL, and I think 4Js) - you can : > call fgl_set_scrline(n) > and > call fgl_set_arrline(n) > > (for both input array and display array - at least in Aubit4GL) > > HTH > > > On Friday 08 July 2005 12:04, Prateek.Jain@ril.com wrote: > > With the use of logic before row and next field i could work > > in that default row which is one . but i have to get out from the =20= > current > > default row which is one > > by default > > Is there any way to set the content of arr_curr or scr_line =20 > function which > > are by default one . > > so that some way can be established > > > > > > > > Regards, > > Prateek Jain > > Reliance Industries Limited > > (M) - 09426387793 > > (O) - 079 - 30215010 (Ext - 383) > > > > > > > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Marco Greco > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <marco@4glworks.c =A0 =A0= =A0 =A0To: =A0 =A0 =A0 > > Prateek.Jain@ril.com om> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0cc: =A0 =A0 =A0 > > informix-list@iiug.org Subject: =A0Re: Display Array 07/08/05 04:00 = PM > > > > Colin Bull wrote: > > > =A0 =A0 =A0 =A0 =A0 =A0Prateek.Jain@ril.com wrote > > > > > > You will probably be ignored if you send in HTML. Plain text = works > > > better for everyone. > > > > > > > > > > > > =A0 =A0 =A0 =A0 =A0 =A0Can anyone tell how to control the cursor = movement in =20 > input > > > array > > > =A0 =A0 =A0 =A0 =A0 =A0and display array statement. > > > =A0 =A0 =A0 =A0 =A0 =A0The cursor by default is at first position = .. I want to =20 > be as > > > > per > > > > > my requirement > > > =A0 =A0 =A0 =A0 =A0 =A0is there any way. > > > > > > What operating system > > > What database and version > > > What client > > > > > > Give us a clue > > > > > > Colin Bull > > > > What, none of the old timers can give an answer to that? > > I'll give you a clue then > > - INPUT ARRAY: a skillful combination of BEFORE ROW and NEXT FIELD =20= > is what > > you > > =A0 need to achieve the functionality you require > > - DISPLAY ARRAY: nope can't be done, but you can use INPUT ARRAY =20= > instead > > > > -- > > Ciao, > > Marco > > =20 > = __________________________________________________ _____________________=20= > ____ > >___ > > > > Marco Greco /UK /IBM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =20 > =A0Standard > > disclaimers apply! > > > > Informix faq > > http://www.iiug.org/techinfo/faq/informix.htm > > 4glworks > > http://www.4glworks.com > > Informix on Linux > > http://www.4glworks.com/ifmxlinux.htm > > -- > Mike Aubury > --Apple-Mail-2-852084068 Content-Transfer-Encoding: quoted-printable Content-Type: text/enriched; charset=ISO-8859-1 I'm not sure what you mean - normally you just make the field 'noentry', then use NEXT FIELD fieldname. Informix will try to go to that field and provided its the last field in the row - it will find it can't (because its noentry) and will proceed to the next row instead... By "autonext" - I meant it will automatically go to the next field - not that you make the field 'autonext'.... If its still giving you trouble - send me some sample code and I'll see if I can see what you're doing wrong... On 9 Jul 2005, at 05:53, Prateek.Jain@ril.com wrote: <excerpt>I have done as per the logic and filled the dummy variable with some default value=20 But without touching the field autonext does not seems to be possible Is there any way without touching the field autonext activates Regards, Prateek Jain Reliance Industries Limited (M) - 09426387793 (O) - 079 - 30215010 (Ext - 383) <<unknown.gif>Mike Aubury <<mike.aubury@aubit.com> <<unknown.gif> <<unknown.gif> <bold><smaller>Mike Aubury <<mike.aubury@aubit.com></smaller></bold>=20 <smaller>07/08/05 06:51 PM</smaller> <<unknown.gif> <smaller> To: Prateek.Jain@ril.com</smaller> <smaller> cc: Marco Greco <<marco@4glworks.com>, informix-list@iiug.org</smaller> <smaller> Subject: Re: Display Array</smaller> <fixed>The normal way in Old 4GL was to have a dummy 'noenty' column at the end of </fixed> <fixed> the screen/program array.</fixed> <fixed> In the BEFORE ROW you'd check if you were on the row you wanted and if next -</fixed> <fixed> 'NEXT FIELD dummy', the autonext would then take it to the next line - where </fixed> <fixed> it'd check again etc etc...</fixed> <fixed> To implement a display array - basically you'd do the same (using an input </fixed> <fixed> array), but have some dummy first field too that was invisible =A0and make all </fixed> <fixed> the other fields noentry...</fixed> <fixed> In recent 4GLs (Aubit4GL, and I think 4Js) - you can :</fixed> <fixed> call fgl_set_scrline(n)</fixed> <fixed> and</fixed> <fixed> call fgl_set_arrline(n)</fixed> <fixed> (for both input array and display array - at least in = Aubit4GL)</fixed> <fixed> HTH</fixed> <fixed> On Friday 08 July 2005 12:04, Prateek.Jain@ril.com = wrote:</fixed> <fixed> > With the use of logic before row and next field i could = work</fixed> <fixed> > in that default row which is one . but i have to get out from the current</fixed> <fixed> > default row which is one</fixed> <fixed> > by default</fixed> <fixed> > Is there any way to set the content of arr_curr or scr_line function which</fixed> <fixed> > are by default one .</fixed> <fixed> > so that some way can be established</fixed> <fixed> ></fixed> <fixed> ></fixed> <fixed> ></fixed> <fixed> > Regards,</fixed> <fixed> > Prateek Jain</fixed> <fixed> > Reliance Industries Limited</fixed> <fixed> > (M) - 09426387793</fixed> <fixed> > (O) - 079 - 30215010 (Ext - 383)</fixed> <fixed> ></fixed> <fixed> ></fixed> <fixed> ></fixed> <fixed> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Marco = Greco</fixed> <fixed> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <<marco@4glworks.c = =A0 =A0 =A0 =A0To: =A0 =A0 =A0</fixed> <fixed> > Prateek.Jain@ril.com om> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0cc: =A0 =A0 =A0</fixed> <fixed> > informix-list@iiug.org Subject: =A0Re: Display Array 07/08/05 04:00 PM</fixed> <fixed> ></fixed> <fixed> > Colin Bull wrote:</fixed> <fixed> > > =A0 =A0 =A0 =A0 =A0 =A0Prateek.Jain@ril.com wrote</fixed> <fixed> > ></fixed> <fixed> > > You will probably be ignored if you send in HTML. Plain text works</fixed> <fixed> > > better for everyone.</fixed> <fixed> > ></fixed> <fixed> > ></fixed> <fixed> > ></fixed> <fixed> > > =A0 =A0 =A0 =A0 =A0 =A0Can anyone tell how to control the = cursor movement in input</fixed> <fixed> > > array</fixed> <fixed> > > =A0 =A0 =A0 =A0 =A0 =A0and display array statement.</fixed> <fixed> > > =A0 =A0 =A0 =A0 =A0 =A0The cursor by default is at first = position . I want to be as</fixed> <fixed> ></fixed> <fixed> > per</fixed> <fixed> ></fixed> <fixed> > > my requirement</fixed> <fixed> > > =A0 =A0 =A0 =A0 =A0 =A0is there any way.</fixed> <fixed> > ></fixed> <fixed> > > What operating system</fixed> <fixed> > > What database and version</fixed> <fixed> > > What client</fixed> <fixed> > ></fixed> <fixed> > > Give us a clue</fixed> <fixed> > ></fixed> <fixed> > > Colin Bull</fixed> <fixed> ></fixed> <fixed> > What, none of the old timers can give an answer to = that?</fixed> <fixed> > I'll give you a clue then</fixed> <fixed> > - INPUT ARRAY: a skillful combination of BEFORE ROW and NEXT FIELD is what</fixed> <fixed> > you</fixed> <fixed> > =A0 need to achieve the functionality you require</fixed> <fixed> > - DISPLAY ARRAY: nope can't be done, but you can use INPUT ARRAY instead</fixed> <fixed> ></fixed> <fixed> > --</fixed> <fixed> > Ciao,</fixed> <fixed> > Marco</fixed> <fixed> > = __________________________________________________ ________________________= _</fixed> <fixed> >___</fixed> <fixed> ></fixed> <fixed> > Marco Greco /UK /IBM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Standard</fixed> <fixed> > disclaimers apply!</fixed> <fixed> ></fixed> <fixed> > Informix faq</fixed> <fixed> > = <color><param>0000,0000,EEEE</param>http://www.iiug.org/techinfo/faq/infor= mix.htm</color></fixed> <fixed> > 4glworks</fixed> <fixed> > = <color><param>0000,0000,EEEE</param>http://www.4glworks.com</color></fixed= > <fixed> > Informix on Linux</fixed> <fixed> > = <color><param>0000,0000,EEEE</param>http://www.4glworks.com/ifmxlinux.htm<= /color></fixed> <fixed> -- </fixed> <fixed> Mike Aubury</fixed> </excerpt>= --Apple-Mail-2-852084068-- sending to informix-list |