Variable scope with Include Directive ???

A

Anthony Judd

I am opening a recordset on page 'A' then using server.execute to populate a
form on page 'B'.
I am getting a a type mismatch error, which suggests the variable doesn't
exist on page 'B'.

I know variable state is supposed to be maintained when using
server.execute.., the problem is what i don't know.

1. could someone please enlighten me as to what is going on.
2. give some suggestion about how work around this problem.

Thanx to those who read this message.
 
R

Ray at

I don't think that variables do carry over when you .execute. They will
with an include though.

Ray at work
 
M

Matthew Lock

You have to use session variables to transfer data between your
original script and server.execute
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top