ODBiC Discussion Board

RE: $varstr() with EACHMULTI?, Kirk Fascio, 10-21-2005

I have a version that supports that now

by Roger Harris, October 23, 2005 01:11

Drop me an e-mail and let me know which version of ODBscript you have, and I'll send you the new version.

The correct syntax is to use $var(...) like this:

<!--EACHMULTI $var($sDistrict$ID) -->

(The $varstr(...) function has a different purpose: it outputs a string that may contain variable references, but WITHOUT resolving those variables. There are times when you need to output a string that's going to be used later, in another script, and you don't want the embedded variables resolved until the string is actually used.)


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.