Matthew,
Thank you - that did the trick. I assumed a string, the "name" of the query, was what I needed, but it works perfectly without the quotes.
function timeRes(x) {
myarray = arrayNew(1);
myarray[1] = rsEquipAvail0;
rCount = myarray[x].RecordCount;
// etc.
}
>Oh here's the problem:
>
>You are placing strings in your array -- "rsEquipAvail1" is a string. Try it
>without the quotes.
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Dynamic queryname in CFSCRIPT Rory Lysaght
- Re: Dynamic queryname in CFSCRIPT Claude Schneegans
- RE: Dynamic queryname in CFSCRIPT Matthew Walker
- Re:Dynamic queryname in CFSCRIPT Rory Lysaght
- Hosting Control panel ? Mike Kear
- Re: Hosting Control panel ? Doug White
- RE: Hosting Control panel ? Mike Kear
- Re: Hosting Control panel ? Doug White
- RE: Hosting Control panel ? Snake Hollywood
- RE: Dynamic queryname in CFSCRIPT Matthew Walker
- Re:Dynamic queryname in CFSCRIPT Rory Lysaght
- Re:Dynamic queryname in CFSCRIPT Rory Lysaght