Hi,

I've recently discovered I've got a problem with some stored procedures. The
problem is that all my procedures are run twice, when used like described
below.

My code looks like this:

<HTML>
<TABLE>
<!--SCRIPT
connection.autoCommit = true;
aStr = "exec sp_web_favbeh_akt '"+session.id+"', "+session.res;
aktierQ = connection.CreateQuery(aStr);
aktierQ.stripTrailingBlanks = true;
-->

<!--FORMATTING NAME=aktierQ-->
<tr align="RIGHT" valign="BOTTOM" bgcolor="#<!--data-->">
<td nowrap align="LEFT"><div class="ktab"><!--data--><font
color=black><!--data--></font></div></td>
<td><div class="ktab"><!--data--><!--data--></div></td>
<td><div class="ktab"><!--data--><!--data--></div></td>
<td><div class="ktab"><!--data--></div></td>
<td><div class="ktab"><!--data--></div></td>
<td nowrap><div class="ktab"><!--data--> <!--data--></div></td>
</tr>
<!--/formatting-->

<!--SCRIPT
aktierQ.Close();
-->

</TABLE>
</HTML>

When using GetValue() instead of the formatting tag the procedures are just
run once - I choose to use the formatting tag instead, to speed up the
application (which obviously doesn't help much when the procedures are run
twice).

Has anybody got a clue what I'm doing wrong?

Best regards,
John V.R. Doktor