PhWeb
Deskin, Bob
Bob.Deskin@Cognos.COM
Mon, 23 Oct 2000 08:12:28 -0400
Interesting. You may have uncovered something we missed. The LINKSCREEN
statement only generates the anchor link in the HTML. Unlike the DEFER
LINKSCREEN verb, it does nothing in the screen file itself. Since the
LINKSCREEN is within the cluster, the corresponding anchor link will be
generated as many times as the occurs.
If you look at the template inside the anchor link, you should see a
name-value pair something like
STU_CRS:COURSEID=<!--PH:VALUE:STU_CRS:COURSEID-->. For occurrences other
than the first, this should look like
STU_CRS:COURSEID=<!--PH:VALUE:STU_CRS:COURSEID:2-->. Note the "2" is the
occurrence number. If that is not there, then add it manually, and the "3"
for the third occurrence, and try it.
Please let me know if this works.
If the occurrence numbers are not there, we'll look at fixing this for the
next release.
Bob Deskin
PowerHouse Web Product Manager and Senior Product Advisor
Application Development Tools, Cognos Inc.
bob.deskin@cognos.com
(613) 738-1338 ext 4205 FAX: (613) 228-3149
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA
-----Original Message-----
From: gsm [mailto:G.Martin@cchs.usyd.edu.au]
Sent: October 23, 2000 1:23 AM
To: powerh-l@sphere.swau.edu
Subject: PhWeb
Greetings to all !!
First Post !!
I have some basic PHWeb screens but have had some difficulty with the
linkscreen s/ment within an occurs ie
screen wwenqcrs &
html htmltitle activities find
file student in stud
access via studno using studno request studno
file stu_crs in stud secondary occurs 3
temp GoEnrol char*7 occurs with stu_crs initial "goenrol"
FIELD STUDNO OF STUDENT REQUIRED NOCHANGE
CLUSTER OCCURS WITH STU_CRS
field courseid of stu_crs noselect
field courseyr of stu_crs noselect
field goenrol
linkscreen item GoEnrol &
passing studno as "STU_CRS:STUDNO" , &
courseid as "STU_CRS:COURSEID" &
action "search" label "GoEnrol" at ,30
skip
CLUSTER
The value "STU_CRS:COURSEID" has the same value for each occurrence !
ie in wwenqcrs.htm
<td>Courseid</td>
<td><input type="text" size="4" name="STU_CRS:COURSEID" value="1652"></td>
<td><input type="text" size="2" name="STU_CRS:COURSEYR" value="00"></td>
<td><input type="text" size="7" name="GOENROL" value="goenrol"></td>
<td>
<A
HREF="/cgi-bin/phcgi?PH_QKC=goenrol&PH_APP=Default&PH_HTML=goenrol.h
tm&PH_ACTION=search&STU_CRS:STUDNO=19992704&STU_CRS:COURSEID=165
2">GoEnrol</A>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td>Courseid</td>
<td><input type="text" size="4" name="STU_CRS:COURSEID:2" value="1654"></td>
<td><input type="text" size="2" name="STU_CRS:COURSEYR:2" value="00"></td>
<td><input type="text" size="7" name="GOENROL:2" value="goenrol"></td>
<td>
<A
HREF="/cgi-bin/phcgi?PH_QKC=goenrol&PH_APP=Default&PH_HTML=goenrol.h
tm&PH_ACTION=search&
amp;STU_CRS:STUDNO=19992704&STU_CRS:COURSEID=1652">GoEnrol</A>
</td>
</tr>
Thanxs
Graeme Martin
Project Manager
Information Technology Services Division
University of Sydney Cumberland Campus
g.martin@cchs.usyd.edu.au
(02) 93519756
Mob 0418 216770
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.