Sorry I can't help more. I don't use the Database Wizards so I'm not an
expert there but If I recall, don't try and make the change in Code
View.
In Design View double-click on where the code is. I think that will
bring up
a box where you can change the code. See
http://www.spiderwebwoman.com/resources/dbrwtipsandtricks.asp for more
information on the Database Wizard
--
David Berry
FrontPage Support:
http://www.frontpagemvps.com/
message
Thank you,
Unfortunately, when I make this change, its tells me that a FP
Component
has
been changed and it will be over written when I save the file, so my
changes
get discarded.
I think there is a way to fix that, I just don't remember what it is.
Bit
of a rookie here.
:
Where you have Email Address change:
<%="<a href=""" & FP_FieldLink(fp_rs,"E- Mail Address") & """>" &
FP_FieldVal(fp_rs,"E- Mail Address") & "</a>"%>
To
<a href ='<%=FP_FieldLink(fp_rs,"E- Mail Address")%>'>email</a>
Where you have web site change:
<%="<a
href=""" & FP_FieldLink(fp_rs,"Website") & """>" &
FP_FieldVal(fp_rs,"Website") & "</a>"%>
To
<a href='<%=FP_FieldLink(fp_rs,"Website")%>'>connect</a>
--
David Berry
FrontPage Support:
http://www.frontpagemvps.com/
message
Here is the code: If, in your review, you see a passcode, please
tell
me
where it is.
I took out as much irrelevant stuff like colors and back grounds:
<html>
<head>
<% ' FP_ASP -- ASP Automatically generated by a Frontpage
Component. Do
not
Edit.
FP_LCID = 1033 %>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<% ' FP_ASP -- ASP Automatically generated by a Frontpage
Component. Do
not
Edit.
FP_CharSet = "windows-1252"
FP_CodePage = 1252 %>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head>
<body bgcolor="#C0C0C0">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0"
style="border-collapse:
collapse" bordercolor="#111111" id="AutoNumber1" width="867"
height="342">
<tr>
<td align="left" valign="top" rowspan="2" width="140"
height="144">
</td>
<td align="center"> </td>
</tr>
<tr>
<td align="right" valign="top" height="120" style="color:
#FFFF00">
<table width="725" border="1" bgcolor="#C0C0C0"
style="border-collapse: collapse" bordercolor="#111111"
cellpadding="0"
cellspacing="0">
<thead>
<tr>
<td><b><font size="2" color="#111111">Agent
Name</font></b></td>
<td width="120"><b><font size="2"
color="#111111">Office</font></b></td>
<td width="125" align="center"><b><font size="2"
color="#111111">Office Phone</font></b></td>
<td width="125" align="center"><b><font size="2"
color="#111111">Cell Phone</font></b></td>
<td width="120"><b><font size="2" color="#111111">E-
Mail
Address</font></b></td>
<td width="200"><b><font size="2"
color="#111111">Website</font></b></td>
</tr>
</thead>
<tbody>
<!--webbot bot="DatabaseRegionStart" s-columnnames="Agent
Name,Office,Office Phone,Cell Phone,E- Mail Address,Website"
s-columntypes="200,200,200,200,200,200"
s-dataconnection="Database1"
b-tableformat="TRUE" b-menuformat="FALSE" s-menuchoice="Agent Name"
s-menuvalue="Agent Name" b-tableborder="TRUE" b-tableexpand="TRUE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE"
i-listformat="0" b-makeform="TRUE" s-recordsource="agent3"
s-displaycolumns="Agent Name,Office,Office Phone,Cell Phone,E- Mail
Address,Website" s-criteria s-order="[Agent Name] +" s-sql="SELECT
*
FROM
"agent3" ORDER BY "Agent Name" ASC"
b-procedure="FALSE"
clientside suggestedext="asp" s-defaultfields s-norecordsfound="No
records
returned." i-maxrecords="256" i-groupsize="0" botid="1"
u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="TBODY" preview="<tr><td
colspan=64
bgcolor="#FFFF00" align="left" width="100%"><font
color="#000000">This
is
the
start of a Database Results region. The page must be fetched from a
web
server with a web browser to display correctly; the current web is
stored
on
your local disk or network.</font></td></tr>" startspan
b-WasTableFormat="TRUE" --><!--#include
file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<SCRIPT Language="JavaScript">
document.write("<div style='background: yellow; color: black;'>The
Database
Results component on this page is unable to display database
content.
The
page must have a filename ending in '.asp', and the web must be
hosted
on
a
server that supports Active Server Pages.</div>");
</SCRIPT>
<% end if %>
<%
fp_sQry="SELECT * FROM ""agent3"" ORDER BY ""Agent Name"" ASC"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=6 align=left width=""100%"">No
records
returned.</td></tr>"
fp_sDataConn="Database1"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice="Agent Name"
fp_sMenuValue="Agent Name"
fp_sColTypes="&Agent Name=200&Office=200&Office Phone=200&Cell
Phone=200&E-
Mail Address=200&Website=200&"
fp_iDisplayCols=6
fp_fCustomQuery=False
BOTID=1
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan
i-checksum="26218" --><tr>
<td width="216">
<font size="2" color="#111111">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="Agent
Name,Office,Office Phone,Cell Phone,E- Mail Address,Website"
s-column="Agent
Name" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside
b-MenuFormat preview="<font size="-1"><<</font>Agent Name<font
size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Agent
Name")%><!--webbot bot="DatabaseResultColumn" endspan
i-checksum="26542"
--></font></td>
<td width="120">
<font size="2" color="#111111">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="Agent
Name,Office,Office Phone,Cell Phone,E- Mail Address,Website"
s-column="Office" b-tableformat="TRUE" b-hashtml="FALSE"
b-makelink="FALSE"
clientside b-MenuFormat preview="<font
size="-1"><<</font>Office<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Office")%><!--webbot
bot="DatabaseResultColumn"
endspan i-checksum="14929" --></font></td>
<td width="125" align="center">
<font size="2" color="#111111">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="Agent
Name,Office,Office Phone,Cell Phone,E- Mail Address,Website"
s-column="Office
Phone" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside
b-MenuFormat preview="<font size="-1"><<</font>Office Phone<font
size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Office
Phone")%><!--webbot bot="DatabaseResultColumn" endspan
i-checksum="30057"
--></font></td>
<td width="125" align="center">
<font size="2" color="#111111">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="Agent
Name,Office,Office Phone,Cell Phone,E- Mail Address,Website"
s-column="Cell
Phone" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside
b-MenuFormat preview="<font size="-1"><<</font>Cell Phone<font
size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Cell
Phone")%><!--webbot bot="DatabaseResultColumn" endspan
i-checksum="27393"
--></font></td>
<td width="120">
<font size="2" color="#111111">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="Agent
Name,Office,Office Phone,Cell Phone,E- Mail Address,Website"
s-column="E-
Mail Address" b-tableformat="TRUE" b-hashtml="FALSE"
b-makelink="TRUE"
clientside b-MenuFormat preview="<font size="-1"><<</font><a
href=".">E- Mail Address</a><font size="-1">>></font>" startspan
--><%="<a href=""" & FP_FieldLink(fp_rs,"E- Mail Address") & """>"
&
FP_FieldVal(fp_rs,"E- Mail Address") & "</a>"%><!--webbot
bot="DatabaseResultColumn" endspan
i-checksum="40276" --></font></td>
<td width="200">
<font size="2" color="#111111">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="Agent
Name,Office,Office Phone,Cell Phone,E- Mail Address,Website"
s-column="Website" b-tableformat="TRUE" b-hashtml="FALSE"
b-makelink="TRUE"
clientside b-MenuFormat preview="<font size="-1"><<</font><a
href=".">Website</a><font size="-1">>></font>" startspan --><%="<a
href=""" & FP_FieldLink(fp_rs,"Website") & """>" &
FP_FieldVal(fp_rs,"Website") & "</a>"%><!--webbot
bot="DatabaseResultColumn"
endspan i-checksum="16432" --></font></td>
</tr>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="TRUE"
b-menuformat="FALSE" u-dbrgn2="_fpclass/fpdbrgn2.inc"
i-groupsize="0"
clientside tag="TBODY" preview="<tr><td colspan=64
bgcolor="#FFFF00"
align="left" width="100%"><font color="#000000">This is the end of
a
Database
Results region.</font></td></tr>" startspan --><!--#include
file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan
i-checksum="62730" --></tbody>
</table>
</td>
</tr>
</table>
</center>
</div>
</body>
:
Yes. That code
--
David Berry
FrontPage Support:
http://www.frontpagemvps.com/
message
You mean the HTML view tab in Front Page, all that code?
I don't see a database connection user name and password on that
page
so
I'm
not sure I've got the right info for you.
:
Ok. What I meant is that we need to see the actual code. Doing
a
View
Source on an ASP page won't show server-side scripting. Please
switch
to
Code View and copy and paste all the ASP code into a reply.
(delete