recordset name

  • Thread starter Thread starter Paul M
  • Start date Start date
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
%>
 
Would this be correct
paul M

<%
Dim adminID
adminID=fp_rs ("User_name")
Session("adminID")=adminID
%>
 
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.
==============================================
 
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.
==============================================
 
Back
Top