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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concatenating a string

Status
Not open for further replies.

synapsevampire

Programmer
Mar 23, 2002
20,180
US
Trying to modify some XML gen'd by Lawson to allow for dynamic URL creation to launch a Crystal Report in Crystal Enterprise. I know how to do so using other methods, but I need an XML solution.

Basically I need to replace the ALL values in the URL near the end of the code with what was entered into the id="label1", id="label2", etc. variables.

I've tried to concatenate the values but I don't understand how to concatenate a string in XML.

All suggestions appreciated.

<?xml version="1.0"?>
<form FORMTYPE="form" NOTKNXFER="0" RUNTYPE="lapm" SYSTEM="HR" TITLE="kai kai" TOKEN="BR40.1" TYPE="ONLINE" columns="80" custom="1" defaultui="true" fontSize="1" formid="BR40.1" formsDir="/lawson/portal/content" height="400" hiddenFC="0" id="form1" inq="I" menuHelp="true" nbr="mainDiv" next="NP" pdl="DEV" rows="23" staticsize="1" tranHelp="true" width="700">
<transfers id="transfers1" nbr="_l1"/>
<fld al="right" col="1" id="label1" nbr="_l2" nm="Company" row="4" sz="7" tp="label"/>
<fld al="right" col="1" id="label2" nbr="_l3" nm="Group Name" row="6" sz="10" tp="label"/>
<fld al="right" col="1" id="label3" nbr="_l4" nm="Employee" row="8" sz="8" tp="label"/>
<fld al="left" col="1" defval="BR40.1" hsel="1" id="Hidden1" nbr="_f0" nm="TC" row="0" sz="6" tp="Hidden"/>
<toolbar al="left" col="9" ed="upper" hsel="1" id="toolbar1" nbr="_f1" nm="FC" req="1" row="0" sz="1">
<button id="button1" nbr="_l5" nm="Inquire" value="I"/>
<button id="button2" nbr="_l6" nm="Next" value="N"/>
<button id="button3" nbr="_l7" nm="Previous" value="P"/>
</toolbar>
<fld al="left" ed="upper" id="Hidden2" nbr="_f2" nm="ORIGINATOR" sz="6" tp="Hidden"/>
<fld al="right" col="10" deftkn="HR00.1" ed="numeric" hdef="1" hdet="1" hsel="1" hselrul="1" id="Text1" key="1" keynbr="01" label="Company" nbr="_f3" nm="PGE-COMPANY" row="4" sz="4" tp="Text"/>
<fld al="left" btnnm="HBX" col="13" ed="upper" id="Text2" key="1" keynbr="Heq" label="Group Name" nbr="_f4" nm="PGE-GROUP-NAME" row="6" sz="10" tp="Text"/>
<fld al="right" btnnm="HCU" col="11" deftkn="HR11.1" ed="numeric" hdef="1" hdet="1" hsel="1" hselrul="1" id="Text3" key="1" keynbr="H07" label="Employee" nbr="_f5" nm="PGE-EMPLOYEE" row="8" sz="9" tp="Text"/>
<fld al="left" ed="upper" id="Sp1" nbr="_f6" nm="_HK" req="1" sz="23" tp="Sp"/>
<PATH id="PATH1" nbr="_l8"/>
<msgBar bMsgArea="1" id="msgBar1" nbr="msgBar"/>
<fld id="Hidden3" nbr="Message" nm="Message" sz="40" tp="Hidden"/>
<push al="left" btnnm="MSN GO !!!!!!!!" col="3" id="push1" keynbr="URL=http://crystal1/crystal/enterprise9/viewrpt.cwr?id=10094&amp;apsauthtype=secWindowsNT&amp;init=actx&amp;prompt0=All&amp;prompt1=All&amp;prompt2=All&amp;prompt3=All&amp;prompt4=All" nbr="_l11" nm="" par="" row="12" sz="20"/>
</form>

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top