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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Online mod for Version 3.4.03
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Bezo
Starting Member

6 Posts

Posted - 09 March 2003 :  17:30:14  Show Profile
you have to be kidding
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 13 March 2003 :  03:06:04  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
I get this error...



Microsoft JET Database Engine error '80040e07' 

Data type mismatch in criteria expression. 

/ckytest/forum/topic.asp, line 1054 




1054 is the line in red...


strSql ="SELECT " & strTablePrefix & "ACTIVE_USERS.MEMBER_ID " 
strSql = strSql & " FROM " & strTablePrefix & "ACTIVE_USERS "
strSql = strSql & " WHERE " & strTablePrefix & "ACTIVE_USERS.MEMBER_ID = '" & TMember_ID & "'"
set rsOnline = Server.CreateObject("ADODB.Recordset")
rsOnline.open  strSql, my_Conn, 3

response.write "Status: "
if rsOnline.EOF or rsOnline.BOF then 
' do nothing
else
if  Members_MemberID = rsOnline("MEMBER_ID") then
response.write "Online"
else
response.write "Offline"
end if 
end if
rsOnline.close
set rsOnline = nothing



Any ideas?

Thanks

PS I have Active Users installed
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 13 March 2003 :  09:27:22  Show Profile
hi~ mortioli,

try removing the small ' between TMember_ID
strSql = strSql & " WHERE " & strTablePrefix & "ACTIVE_USERS.MEMBER_ID = '" & TMember_ID & "'"

i did'nt have AU 4 installed yet, but i think.. usually the MEMBER_ID should be a integer field..

try and see if it work...

Edited by - DoraMoon on 13 March 2003 09:28:14
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 13 March 2003 :  11:09:05  Show Profile
see here http://forum.snitz.com/forum/topic.asp?TOPIC_ID=42436 for another version

The UK MkIVs Forum
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 14 March 2003 :  11:44:56  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
I tried the link, and it works great

Thanks!

...and thanks DoraMoon for the help!
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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07