Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Rajhans G. Tawde — — source: Informix-list mailing list archive (1991-1998)
Subject: Need help with DISPLAY ARRAY problem
Date: 22 Dec 1993 10:48:03 -0500
Hi John,
Here is a solution to your problem. Just include CALL SET_COUNT() to
your code as described below.
> I need some help. I am new to Informix - so new I am using
> Informix 4GL 1.10. I am learning this using the Users Guide but applying
> it to my own application. I am having the following problem:
> OPEN FROM fba_stats FROM "fba_stats"
> DISPLAY FORM fba_stats
CALL SET_COUNT(no_elem)
{* Where no_elem is the total count of the array elements that need to
be displayed.
The SET_COUNT() informs DISPLAY ARRAY about the array size to be
displayed. Same thing holds good for INPUT ARRAY WITHOUT DEFAULTS. *}
> DISPLAY ARRAY p_player TO player.*
This will solve your problem.
Regards.
- Rajhans.
--------------------------------------------------------------------
Rajhans G Tawde Internet: raj@shack.csci.csc.com
CSC Intelicom Voice : (303) 643 1476
116 Inverness Drive East Fax : (303) 792 0319
Englewood, CO 80112 Standard Disclaimers Apply.
--------------------------------------------------------------------
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.