On 26.Feb.2003 -- 10:10 AM, [EMAIL PROTECTED] wrote: > Hi, > I make a connection (using ESQL) and get a value <esql:get-string > column="MYVAR"/> . > > How can I get this value on the page to build another query like : > > Select * From mytable where ID = "MYVAR" > > I tried with <xsp:attribute name="MYVAR"><esql:get-string > column="MYVAR"/></xsp:attribute> But when I request it I get the error : > variable MYVAR not defined. Even if I add <xsp:logic> Int MYVAR = 0; > </xsp:logic> > > How can I put my ESQL value into a variable?
<xsp:logic> String myVar = <esql:get-string column="MYVAR"/>; </xsp:logic> Similar for other types. Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add "SUMMARY: " to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. And if you are really cool, add a page at http://wiki.cocoondev.org -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]