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
 Error in showing bday when viewing members page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bi11i
Starting Member

USA
17 Posts

Posted - 22 October 2003 :  02:22:18  Show Profile  Visit bi11i's Homepage  Send bi11i a Yahoo! Message
i get this when it displays the date, but I seem to be able to select it just fine when editing my profile. Here's what I get:

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'strDOBDate'

/inc_showdob.asp, line 15


here's my code in inc_showdob.asp:
quote:
<%
function DayName(inDay)
if Mid(strDOBDate,1,1) <> "1" then
select case Mid(strDOBDate,2,1)
case "1" DayName = "st"
case "2" DayName = "nd"
case "3" DayName = "rd"
case else DayName = "th"
end select
else DayName = "th"
end if
end Function

function ShowDOB(strDOBDate)
strDOBDate = year(strDOBDate) & doublenum(Month(strDOBDate)) & doublenum(Day(strDOBDate))
dim strDayExtention
if not(isnull(strDOBDate)) then
strDayExtention = DayName(Mid(strDOBDate,8,1))
ShowDOB = "The " & Mid(strDOBDate,7,2) & DayName(Mid(strDOBDate,7,2)) & " of " & MonthName(Mid(strDOBDate, 5,2)) & ", " & Mid(strDOBDate, 1,4) & "."
else ShowDOB = "Invalid date of birth or not specified"
end if
end Function
%>



anyone have any ideas? my forum is at http://forum.bi11i.com (you'll have to excuse my profile picture...)


Edited by - bi11i on 22 October 2003 02:22:38

laser
Advanced Member

Australia
3859 Posts

Posted - 22 October 2003 :  03:10:38  Show Profile
Any chance you can create a test account (like 'snitz') so we can see your profile ?

Can't view profiles unless logged in and there's not much point having everyone creating an account to visit once.
Go to Top of Page

bi11i
Starting Member

USA
17 Posts

Posted - 22 October 2003 :  21:31:09  Show Profile  Visit bi11i's Homepage  Send bi11i a Yahoo! Message
done.

u: tester
pw: tester

Go to Top of Page
  Previous Topic Topic Next Topic  
 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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07