FP Database Wizard and changing code

A

Art

How can you change the code created by FP database wizard?

When I go to the HTML view and make changes, FP overwrites
teh changes when it saves the page

Do I need another editor?
 
M

Mike

Make the change in the "<!--webbot bot="DatabaseRegionStart"......." section
and not in the script itself. When you change it in the webbot section it
will change it in the script.

HTH,
Mikeal
 
A

Art

I appreciate your posting in response to my question.

I tried inserting <%=Left(recordset("link"),10)%>
in the line below where I have indicated but it refuses to
save.

Am I trying to insert it into the wrong place? My goal is
to limit the size of the column link to only 10 characters

Thanks again and I appreciate anything you can add


<!--webbot bot="DatabaseResultColumn" s-
columnnames="f_docnumber,f_entrydate,a31,a35,a36,a37,a38,a3
9,a40,a41,a42,conv_date,link,link2" s-column="link" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="TRUE"
clientside b-MenuFormat preview="&lt;font size=&quot;-
1&quot;&gt;&amp;lt;&amp;lt;&lt;/font&gt;&lt;a
href=&quot;.&quot;&gt;link&lt;/a&gt;&lt;font size=&quot;-
1&quot;&gt;&amp;gt;&amp;gt;&lt;/font&gt;" startspan --><%
=Left(recordset("link"),10)%> <%="<a href=""" &
FP_FieldLink(fp_rs,"link") & """>" & FP_FieldVal
 
G

grw

Remove the grey code and modify like this :

<%="<a href=""" & FP_FieldLink(fp_rs,"link") & """>" &
Left(FP_FieldVal(fp_rs,"link"),10) & "</a>"%></td>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top