Print Page | Close Window

Need Syntax Help Please

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=1102
Printed Date: 30 March 2026 at 9:48am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Need Syntax Help Please
Posted By: redk
Subject: Need Syntax Help Please
Date Posted: 18 March 2003 at 5:36am

This is the actual line
If NOT lngLoggedInUserID = 1 Then Response.Redirect "../default.asp"

This is what i need
If NOT lngLoggedInUserID = 1 OR 2 Then Response.Redirect "../default.asp"

Can someone please help me with the required syntax please?

thank you

Red..




Replies:
Posted By: redk
Date Posted: 18 March 2003 at 5:53am

Its ok folks - i got it :)

Just for future record it was.....
If NOT (lngLoggedInUserID = 1 or lngLoggedInUserID = 2) Then Response.Redirect "../default.asp"

thanks

Red..




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net