Qdesign selectbox on cluster field
Martijn Nabben (Fairfax)
Martijn.Nabben@fairfaxnz.co.nz
Thu, 27 May 2004 16:08:12 +1200
Thanks Peter,
We have been able to do it a little more straight-forward, but you
definitely pointed us in the right direction.
We ended up defining 5 temporary items, that we defined outside the one
cluster that we could keep (not 5).
The entry procedure (that was changed from the default anyway) has an accept
statement for each of the items, depending on the "occurrence". And each
temporary item has its own selectbox and procedurally we simply give the
record item the value of that temporary item.
Thanks a lot!!
Martijn
-----Original Message-----
From: Peter Bateman [mailto:shediac92@hotmail.com]
Sent: Wednesday, 26 May 2004 5:22
To: powerh-l@lists.sowder.com
Subject: RE: Qdesign selectbox on cluster field
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=htt
p://hotmail.com/enca&HL=Market_MSNIS_Taglines
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.