Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java Applet not showing all parameters

Status
Not open for further replies.

Anthony1312002

Programmer
Mar 4, 2004
146
US
I'm using the applet below to display data in a pie chart coming from an sql statement. It works up to 5 parameters but the 6th parameter shown below won't showup in the chart. Does anyone have any idea why?


<%
Dim Images, ImageI, Unprocessables, UnProcessed, Return, Returned, Attempt, Attempted, Lookedup, Lkups, ExtractOnly, _
AllVolume

Images = "Image Items"
Unprocessables = "Corr./Unbank"
Returned = "Returns"
Attempted = "Attempts"
Lookedup = "Lookups"
ExtractOnly = "Extract Payments"
AllVolume = "Total Volume"
%>

<APPLET CODE="HanengCharts_SampleApplet.class" WIDTH=441 HEIGHT=253 ALIGN=top>
<PARAM NAME="Info" VALUE="Visit for more charting applets!">
<PARAM NAME="value_1" VALUE="<%=TRIM((ImageTotal))%>">
<PARAM NAME="value_2" VALUE="<%=TRIM((TotalVol))%>">
<PARAM NAME="value_3" VALUE="<%=TRIM((CorrTotal + UnbankTotal))%>">
<PARAM NAME="value_4" VALUE="<%=TRIM((LookupTotal))%>">
<PARAM NAME="value_5" VALUE="<%=TRIM((ExtractTotal))%>">
<PARAM NAME="value_6" VALUE="<%=TRIM((ReturnsTotal))%>">
IF Len(TRIM((Images)) > 0 THEN<PARAM NAME="text_1" VALUE="<%=TRIM((Images))%>">END IF
IF Len(TRIM((AllVolume)) > 0 THEN<PARAM NAME="text_2" VALUE="<%=TRIM((AllVolume))%>">END IF
IF Len(TRIM((Unprocessables)) > 0 THEN<PARAM NAME="text_3" VALUE="<%=TRIM((Unprocessables))%>">END IF
IF Len(TRIM((Lookedup)) > 0 THEN<PARAM NAME="text_4" VALUE="<%=TRIM((Lookedup))%>">END IF
IF Len(TRIM((ExtractOnly)) > 0 THEN<PARAM NAME="text_5" VALUE="<%=TRIM((ExtractOnly))%>">END IF
IF Len(TRIM(Returned)) > 0 THEN<param name="text_6" value="<%=TRIM((Returned))%>">END IF


</APPLET>
 

Maybe you should ask this question in a more appropriate forum? Either the VbScript forum (for the VBScript), or the Java forum (for details on the .class file in use.

I don't see any JavaScript on the page at all.

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top