Before RTE
I needed to open a specificic record from my acces file.
I have used the strQueryString3 to pass my record-id from my asp file with then form to the RTE_textarea.asp, where I use the id to find my data from my database file.
strQueryString3 = Trim(Request.QueryString("showid"))
%>
<form name="frmAddMessage" method="post" action="edit.asp?action=save&showid=<%=strQueryString 3 %>" onSubmit="document.getElementById('Submit').disabled=true;"& gt;
<% ' here is my RTE field inserted
'Change this to the path to your RTE files
Const strPathToRTEFiles = "RTE/" 'This needs to hold the path to the RTE files
%>
<!-- include the rich text editor -->
<!--#include file="RTE/RTE_editor_inc.asp" -->
</p>
</form>
And the code in the RTE_textarea.asp :
Dim strQueryString3
strQueryString1 = Request.QueryString("QS1")
strQueryString2 = Request.QueryString("QS2")
strQueryString3 = Request.QueryString("QS3")
if Request.QueryString("qs3")<>"" then (test if I have some data parsed)
then open my table and fetch data
and insert into :
strEditorContent = "<div style=""text-align: left; font-family: arial,helvetica,sans-serif;"">"&DATA_GOES_HERE&a