Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hrafnkell Eiriksson — — source: Informix-list mailing list archive (1991-1998)
Olivier FERNANDEZ <ofernandez@icor.fr> wrote:
* Hello,
*
* How could assign a result from an SQL REQUEST to an MIVAR variable.
*
* (MI tags can't be encapsluled ??? so ...)
Well.. I've been using the Web Data Balde with IUS, but I
guess the syntax is the same.
You can assign results from an SQL query by using the
$(SETVAR,) tag.. F.x:
<?MISQL SQL="SELECT foo FROM BAR WHERE foono=1">
$(SETVAR,$MYVAR,$1)
<?/MISQL>
<!-- and hereafter you can use the $MYVAR variable -->
I must say I find the variable processing syntax in the
webdatablade rather "ugly" :)
Hrafnkell - hkelle@rhi.hi.is
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.