Hi all,
I can successed add FCK on a post page with ASP language, but now... I just discovered, if you posted a messenge to a forum, sometime, you may want to change it for some reason like change some text etc....
So my forum also maked a update page with ASP la, but I don't know how to change or setting FCK can load my data from the access database or how to let it add the ASP code
Here are the update.asp code on my update page.
<textarea name="NewsBody" cols="50" rows="20" id="NewsBody"><%=(rsNews.Fields.Item("NewsBody").Value)%></textarea>
The most import one is the "<%=(rsNews.Fields.Item("NewsBody").Value)%>" this line, it will load my DB data to let user change the messenge.
But I try this to the update page, not work for me
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor.Value = "<%=(rsNews.Fields.Item("NewsBody").Value)%>"
oFCKeditor.Create "NewsBody"
%>
Who can teach me how to integration the code to FCK that can let it load my messenge?
I can successed add FCK on a post page with ASP language, but now... I just discovered, if you posted a messenge to a forum, sometime, you may want to change it for some reason like change some text etc....
So my forum also maked a update page with ASP la, but I don't know how to change or setting FCK can load my data from the access database or how to let it add the ASP code
Here are the update.asp code on my update page.
<textarea name="NewsBody" cols="50" rows="20" id="NewsBody"><%=(rsNews.Fields.Item("NewsBody").Value)%></textarea>
The most import one is the "<%=(rsNews.Fields.Item("NewsBody").Value)%>" this line, it will load my DB data to let user change the messenge.
But I try this to the update page, not work for me
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor.Value = "<%=(rsNews.Fields.Item("NewsBody").Value)%>"
oFCKeditor.Create "NewsBody"
%>
Who can teach me how to integration the code to FCK that can let it load my messenge?
RE: How to add FCK in ASP's update page?
oFCKeditor.Value = "<%=(rsNews.Fields.Item("NewsBody").Value)%>"
with
oFCKeditor.Value = rsNews.Fields.Item("NewsBody").Value)
RE: How to add FCK in ASP's update page?
oFCKeditor.Value = rsNews.Fields.Item("NewsBody").Value
RE: How to add FCK in ASP's update page?
Oh, colake, very thx of your kind help!

It work now ...
RE: How to add FCK in ASP's update page?
But .... not I finded a new problems after I updated the post.... it will just add a "," and the end of the post automatic ...
Who know why and what is wrong ma?
Please see the URL
http://test.cheungchaubc.org/department ... p?NewsID=7
RE: How to add FCK in ASP's update page?
If you find a solution let me know ok Thank you.