Although you say you don't want to "create the name variable", according to my reading of your message, you are.

My understanding is that you want to name a resultSet according to the name in the variable <@VAR request$service>. Is that so?

Eric



At 09:31 AM 6/24/2003, you wrote:
That works, but as I said in my first post

<QUOTE>
I'd rather not have to create the name variable and I'd rather not have to give the resultSet a static name then rename it in a following action.
</QUTOE>


On Tuesday, June 24, 2003, at 11:24 AM, Harpreet Matharu wrote:


try this

<@ASSIGN NAME="service" VALUE="<@VAR RESULTSET>" SCOPE="request">

in the search results html page.

-----Original Message-----
From: Bryan Hughes [<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 9:21 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Dynamic ResultSet Naming

I am trying to dynamically name a search actions result set in a for loop.

The name of the resultSet (request$service) is assigned before the search action.

I name the search action resultSet varible "<@VAR request$service>" under the Output Variable Properties tab of the search action.

I get the following error when running the page:

An error occurred while processing your request:

File: run.eo
Position: Search_salon_subs_services
Class: Internal
Main Error Number: -52

The name of the result set variable cannot have a scope specifier
<@VAR request$service>

When I use "@@request$service" instead of "<@VAR request$service>" i get:

Error
An error occurred while processing your request:

File: run.eo
Position: Search_salon_subs_services
Class: Internal
Main Error Number: -52

The name of the result set variable cannot have a scope specifier
salon_service_Makeup

I'd rather not have to create the name variable and I'd rather not have to give the resultSet a static name then rename it in a following action.

Can I not dynamically assign resultSet names?
</blockquote></x-html>

________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to