Exception Occured

Results 1 to 2 of 2

Thread: Exception Occured

  1. #1
    Foot Guest

    Default Exception Occured

    SQL = "SELECT Handle, Time FROM Users WHERE IP=&#039" & Request.ServerVariables("REMOTE_ADDR") & "&#039"<BR>set user = conn.execute(SQL)<BR>IF user.EOF OR DateDiff("d",user("time"),NOW()) THEN<BR> handle = "Anonymous"<BR>ELSE<BR> handle = user("handle")<BR>END IF<BR><BR>I can&#039t figure out why I&#039m getting this error:<BR><BR>error &#039 80020009&#039 <BR>Exception occurred. <BR><BR>/comments.asp, line 44<BR><BR>Any help would be appreciated.<BR>

  2. #2
    Sathiya Guest

    Default RE: Exception Occured

    try CDate(user("time")) may be it is not converting to date

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts