Qdesign selectbox on cluster field
Peter Bateman
shediac92@hotmail.com
Tue, 25 May 2004 14:21:53 -0300
Martijn:
I think you will need 5 aliases of your occuring record and 5 clusters.
Hopefully, somebody has a better idea.
FILE x DET OCCURS 5
FILE x DES ALIAS x1
ACCESS VIA unique_key USING unique_key OF x optional
FILE x DES ALIAS x2
ACCESS VIA unique_key USING unique_key OF x optional
CLUSTER
FIELD f1 OF x1
FIELD f4 of X1 SELECTBOX
CLUSTER
FIELD f1 OF x2
FIELD f4 of x2 SELECTBOX
etc
PROCEDURE POSTFIND
BEGIN
FOR 5
BEGIN
IF 1 = OCCURRENCE
THEN BEGIN
GET x1 OPTIONAL
DISPLAY f1 OF x1
DISPLAY f4 of x1
END
IF 2 = OCCURRENCE
THEN BEGIN
GET x2 OPTIONAL
DISPLAY f1 OF x2
DISPLAY f4 of x2
END
.
.
.
PROCEDURE UPDATE
BEGIN
PUT X1
PUT X2
PUT X3
PUT X4
PUT X5
>We have a selectbox on a record item, that occurs in a cluster (occurs 5
>times) on the screen. The selectbox always appears 1 line below the
>coordinates of the first occurrence of the field in question. How can we
>make it appear 1 line below each and every single occurrence?
>
Regards,
Peter Bateman
_________________________________________________________________
Add photos to your e-mail with MSN Premium. Get 2 months FREE*
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines