E
Euroiranian Co
I'm a begginer in Web Design and I have a small but irritating problem.
I'm trying to include pictures (OLE objects field DataType) from MS
Access in a database results page in Frontpage, but it shows a "X" or
[#BINARY#]. I followed the instructions exactly, even I changed the
parameters | Insert Field Value in Pictures Properties.
The Frontpage's HTML wiev shows as follows:
<html>
<head>
<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>All Products</title>
</head>
<body>
<p> </p>
<table border="1">
<thead>
<tr>
<td><b>Picture</b></td>
</tr>
</thead>
<tbody>
<!--webbot bot="DatabaseRegionStart"
s-columnnames="SellerID,PaintNo,AdmisionDate,ExpirationDate,Original,PaintName,PaintNombre,High,Wide,Weight,Year,KindOfPainting,Support,Subject,Technique,Style,PriceInRials,PriceIn€,Picture"
s-columntypes="3,3,135,202,202,202,202,3,3,3,3,202,202,202,202,202,6,6,205"
s-dataconnection="artsHOODB" b-tableformat="TRUE" b-menuformat="FALSE"
s-menuchoice s-menuvalue b-tableborder="TRUE" b-tableexpand="FALSE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE"
i-listformat="0" b-makeform="TRUE" s-recordsource="WorkArt"
s-displaycolumns="Picture" s-criteria s-order="[ExpirationDate] +"
s-sql="SELECT * FROM WorkArt ORDER BY ExpirationDate ASC"
b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields
s-norecordsfound="No records returned." i-maxrecords="256"
i-groupsize="5" botid="0" 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.</font></td></tr>" startspan --><!--#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 WorkArt ORDER BY ExpirationDate ASC"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=1 align=left width=""100%"">No records
returned.</td></tr>"
fp_sDataConn="artsHOODB"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=5
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_iDisplayCols=1
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="../../_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="63033"
--><tr>
<td><img border="0"
src="<%=FP_FieldLink(fp_rs,"Picture")%>"></td>
</tr>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="TRUE"
b-menuformat="FALSE" u-dbrgn2="../../_fpclass/fpdbrgn2.inc"
i-groupsize="5" 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><TR><TD ALIGN=LEFT
VALIGN=MIDDLE COLSPAN=64><NOBR><INPUT TYPE=Button
VALUE=" |< "><INPUT TYPE=Button VALUE="
< "><INPUT TYPE=Button VALUE=" >
"><INPUT TYPE=Button VALUE=" >| ">
[1/5]</NOBR><BR></td></tr>" startspan
--><!--#include file="../../_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="65064"
--></tbody>
</table>
</body>
</html>
Please, I would appreciate to much if anyone can help me .
Euroiranian Co
I'm trying to include pictures (OLE objects field DataType) from MS
Access in a database results page in Frontpage, but it shows a "X" or
[#BINARY#]. I followed the instructions exactly, even I changed the
parameters | Insert Field Value in Pictures Properties.
The Frontpage's HTML wiev shows as follows:
<html>
<head>
<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>All Products</title>
</head>
<body>
<p> </p>
<table border="1">
<thead>
<tr>
<td><b>Picture</b></td>
</tr>
</thead>
<tbody>
<!--webbot bot="DatabaseRegionStart"
s-columnnames="SellerID,PaintNo,AdmisionDate,ExpirationDate,Original,PaintName,PaintNombre,High,Wide,Weight,Year,KindOfPainting,Support,Subject,Technique,Style,PriceInRials,PriceIn€,Picture"
s-columntypes="3,3,135,202,202,202,202,3,3,3,3,202,202,202,202,202,6,6,205"
s-dataconnection="artsHOODB" b-tableformat="TRUE" b-menuformat="FALSE"
s-menuchoice s-menuvalue b-tableborder="TRUE" b-tableexpand="FALSE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE"
i-listformat="0" b-makeform="TRUE" s-recordsource="WorkArt"
s-displaycolumns="Picture" s-criteria s-order="[ExpirationDate] +"
s-sql="SELECT * FROM WorkArt ORDER BY ExpirationDate ASC"
b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields
s-norecordsfound="No records returned." i-maxrecords="256"
i-groupsize="5" botid="0" 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.</font></td></tr>" startspan --><!--#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 WorkArt ORDER BY ExpirationDate ASC"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=1 align=left width=""100%"">No records
returned.</td></tr>"
fp_sDataConn="artsHOODB"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=5
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_iDisplayCols=1
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="../../_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="63033"
--><tr>
<td><img border="0"
src="<%=FP_FieldLink(fp_rs,"Picture")%>"></td>
</tr>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="TRUE"
b-menuformat="FALSE" u-dbrgn2="../../_fpclass/fpdbrgn2.inc"
i-groupsize="5" 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><TR><TD ALIGN=LEFT
VALIGN=MIDDLE COLSPAN=64><NOBR><INPUT TYPE=Button
VALUE=" |< "><INPUT TYPE=Button VALUE="
< "><INPUT TYPE=Button VALUE=" >
"><INPUT TYPE=Button VALUE=" >| ">
[1/5]</NOBR><BR></td></tr>" startspan
--><!--#include file="../../_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="65064"
--></tbody>
</table>
</body>
</html>
Please, I would appreciate to much if anyone can help me .
Euroiranian Co