Hi All,
I have a page, were I want to change data.
The data wich has to be changed has to come into the field from the FCKeditor.
I tried the following:
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor.Create <%=(rsContent.Fields.Item("ContentTekst").Value)%>
But thats not working Then I get the error:
Syntax error
/CMS/content/ContentUpdate.asp, line 215, column 18
I Also tried:
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor = rsContent("ContentTekst")
But then there is noting on the screen.
Who, ow who can help me out?
thanks!
I have a page, were I want to change data.
The data wich has to be changed has to come into the field from the FCKeditor.
I tried the following:
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor.Create <%=(rsContent.Fields.Item("ContentTekst").Value)%>
But thats not working Then I get the error:
Syntax error
/CMS/content/ContentUpdate.asp, line 215, column 18
I Also tried:
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor = rsContent("ContentTekst")
But then there is noting on the screen.
Who, ow who can help me out?
thanks!
RE: getting data From MS ACCESS 2003
RE: getting data From MS ACCESS 2003
oFCKeditor.Create =rsContent.Fields.Item("ContentTekst").Value
Is 'ContentTekst' your data to be displayed in the editor?
RE: getting data From MS ACCESS 2003
oFCKeditor.Value = rsContent("ContentTekst")
RE: getting data From MS ACCESS 2003
@ the_innkeeper

Yes, 'ContentTekst' is the name from the field were I want to show the data.
I want to update some text in that field. The text is in the MS ACCESS database.
Also I tried what you said but with no result.
It gave the following error:
Error Type:
Microsoft VBScript runtime (0x800A01F5)
Illegal assignment: 'Create'
/CMSdemo/ContentUpdate.asp, line 218
@ elado86
I tried what you said,but also there was no result.
I saw in the file fckeditor.asp the following:
Private Sub Class_Initialize()
sBasePath = "/CMSdemo/FCKeditor/"
sWidth = "600"
sHeight = "400"
sToolbarSet = "Default"
sValue = ""
I tried to use the VALUE line. But also nothing....
Im gonna search allong... thanks anyway!