|
Hi.
One
way you can do is to use:
<xsp:logic>
String yourLocalStringVariable;
</xsp:logic>
and
get the value from esql:
...
<esql:row-results>
<xsp:logic>
yourLocalStringVariable = <esql:get-string
column="rst_child"/>
</xsp:logic>
</esql:row-results>
...
and
use it in the last query:
<esql:query>SELECT
ar_tit,id_art FROM dbarticoli
WHERE ar_sez = '<xsp:expr>yourLocalStringVariable</xsp:expr>' <-
Note the ' symbol around when using strings
</esql:query>
HTH
/Ralph -----Ursprungligt
meddelande-----
Från: Franco Andrao [mailto:[EMAIL PROTECTED] Skickat: den 29 juni 2005 14:44 Till: [email protected] Ämne: dynamic query with esql
|
- SV: dynamic query with esql Ralph Skulbörstad
- Re: dynamic query with esql Derek Hohls
