Forum OpenACS Q&A: Re: NSTCL. Using ODBC Driver

Collapse
Posted by Simon at TCB on
Oh No..

I've just discovered that db_foreach (and others) are not setting variables in the calling context. i.e. I do a db_foreach like {select myId from myTable}

but referencing myId just throws an error complaining the variable doesn't exist.

Does anyone have any thoughts?

Thanksin advance