I have Google this until I'm numb...
I keep getting a "Type mismatch: 'Server.HTMLEncode'" error when attempting to update in ASP/VB Script.
Data enters Access Database from FCKEditor with no prob. When attempting to edit the entry, it refuses to load page/contents of Memo field with a "Type mismatch", directing me to line 101 in fckeditor.asp:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'Server.HTMLEncode'
/aasbdemo/admin/pressreleases/FCKeditor/fckeditor.asp, line 101
Using the following VBScript to call up recordset entry within a update form page:
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "fckeditor/"
oFCKeditor.Value = rsEditEnt("ArticleBody")
oFCKeditor.Create "ArticleBody"
%>
Can anyone point me in the right direction before I pour the gasoline over my head and start looking for my Zippo?
IIS 5.1/XP Pro
I keep getting a "Type mismatch: 'Server.HTMLEncode'" error when attempting to update in ASP/VB Script.
Data enters Access Database from FCKEditor with no prob. When attempting to edit the entry, it refuses to load page/contents of Memo field with a "Type mismatch", directing me to line 101 in fckeditor.asp:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'Server.HTMLEncode'
/aasbdemo/admin/pressreleases/FCKeditor/fckeditor.asp, line 101
Using the following VBScript to call up recordset entry within a update form page:
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "fckeditor/"
oFCKeditor.Value = rsEditEnt("ArticleBody")
oFCKeditor.Create "ArticleBody"
%>
Can anyone point me in the right direction before I pour the gasoline over my head and start looking for my Zippo?
IIS 5.1/XP Pro
Re: Editing FCKEditor Memo Field in Access Database Error
(that it's: what happens if you just try to
?
Re: Editing FCKEditor Memo Field in Access Database Error
Solution was:
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "fckeditor/"
oFCKeditor.Value = rsEditEnt.Fields.Item("ArticleBody").Value
oFCKeditor.Create "ArticleBody"
%>