Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Trying to Mod, Profile Views Mod by OnewayMule
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 08 November 2005 :  15:35:52  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Oh, must have missed your previous post...
Again, if you have questions, feel free to ask.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Rocket468
New Member

USA
57 Posts

Posted - 08 November 2005 :  23:56:13  Show Profile  Visit Rocket468's Homepage
Sorry to bother you again :(
I thought I had it but I now know I have goofed. I can't get this function to work. My page is does either of 2 searches so if Someone can search by either Plan No. Or By Designer.
Intdes=designer var
Intpn= Plan No var

When intdes = something its going thur the intpn comand. and getting kicked out. I know I have somthing with an if, else, else if But can't figure it out.

if intdes <> "" Then	
	If Not isNumeric(intdes) or trim(intdes) = "" Then
	Response.Redirect("default.asp")
	else

		ForPlan = "Designers Plan"
			sET rs_block_user = Server.CreateObject("ADODB.Recordset")
			sql_block_user = "SELECT * FROM plan_details WHERE Plan_No LIKE '%" & (intdes) & "%' ORDER BY " & sortBy	
	end if
else if intpn <> "" Then	
	If Not isNumeric(intpn) or trim(intpn) = "" Then
	Response.Redirect("default.asp")
	else

		ForPlan = CLng(intpn)
			sET rs_block_user = Server.CreateObject("ADODB.Recordset")
			sql_block_user = "SELECT * FROM plan_details WHERE Plan_No LIKE '%" & (intpn) & "%' ORDER BY " & sortBy	
	end if
else
Response.Redirect("default1.asp")
end if
end if


Professional House Plans

DevilsOwn Alcohol Injection


Edited by - Rocket468 on 10 November 2005 17:31:49
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07