无效使用Null: 'Split'

来源:百度知道 编辑:UC知道 时间:2024/05/15 18:08:21
__________________________________________________________________
<%
dim rsForumTitle,rsForumInfo,rsForumFace,Forum_info,Forum_Setting,Forum_user,Forum_userface
dim FU_UserClass,FU_TitlePic,FU_UserGroup,FU_UserGroupID,FU_Showre
dim FU_Face,FU_FaceWidth,FU_FaceHeight,FU_UserWealth,FU_UserEP,FU_UserCP

if UserTableType="Dvbbs6.0" or UserTableType="Dvbbs6.1" then
if UserTableType="Dvbbs6.0" then
set rsForumInfo=Conn_User.execute("select top 1 Forum_Info,Forum_setting,Forum_user,Forum_userface from config order by id asc")
Forum_userface=split(rsForumInfo("Forum_userface"),"|")
elseif UserTableType="Dvbbs6.1" then
set rsForumInfo=Conn_User.execute("select Forum_Info,Forum_setting,Forum_user from dvbbs_info where active=1")
set rsForumFace=Conn_User.execute("select Forum_userface from dvbbs_pic where active=1")
Forum_userf

rsForumInfo("Forum_info")的值不能是空,
在此语句前应该先判断一下是否为空
if rsForumInfo("Forum_info") <> "" then
Forum_info=split(rsForumInfo("Forum_info"),",")
end if

改成FU_Face = CStr(Forum_info(11))&CStr(Forum_userface(0))
试一下

我也不知道了,程序挺复杂的。