Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Comparing Dynamic Variables

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,633
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Comparing Dynamic Variables
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Comparing Dynamic Variables - 6/12/2002 3:56:15 PM   
  jwong78

 

Posts: 1
Score: 0
Joined: 6/12/2002
From:
Status: offline
Is it possible to compare tqodynamic variables in an If conditional statement?

Below is my code.

If rs("ID") = Request("ID") Then
test = true
Else
test = false
End If

Where is rs is an recordset object and would contain the value 1.
And Request("ID") contains the value 1 aswel.

I know they are the same, but the Else part is always executed.

Thank You
Jonny Wong
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Comparing Dynamic Variables Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts