recordset name

P

Paul M

Hi
When the results wizaerd creates a recorset what does it call it
For eg I want to set a session variable using the username
Thanks
Paul M

<%
Dim userID
userID= recordset("User_name")
Session("userID")=userID
%>
 
P

Paul M

Would this be correct
paul M

<%
Dim adminID
adminID=fp_rs ("User_name")
Session("adminID")=adminID
%>
 
T

Thomas A. Rowe

Yes, but no space:

<%
Dim adminID
adminID = fp_rs("User_name")
Session("adminID") = adminID
%>

or just

<%
Session("adminID") = fp_rs("User_name")
%>


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
P

Paul M

Thanks Thomas
Paul M
Thomas A. Rowe said:
Yes, but no space:

<%
Dim adminID
adminID = fp_rs("User_name")
Session("adminID") = adminID
%>

or just

<%
Session("adminID") = fp_rs("User_name")
%>


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

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

Top