Re: How to display a picture by using an Access database in FrontPage 2003

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Feb 12, 3:07 pm, "Trevor Lawrence" <Trevor L.@Canberra> wrote:
<annc...@xxxxx> wrote in message

news:483a6e50-9767-4382-9960-a7ae850bebbe@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I tried placing the code as you suggested on my page <img
src="ImagesDeceased/<%=fp_rs("picfilenamefieldname")%>...
, but it only generated the same code when publilshed, then I tried
putting code in the code (html) of the page, and received the
following results and all my other results were gone:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'fp_rs'

/Braten.asp, line 52

Just a question

Did you change "picfilenamefieldname" to the *actual* fieldname on Access ?
--
Trevor Lawrence
Canberra
Microsoft MVP - FrontPage
MVP Web Sitehttp://trevorl.mvps.org

Thank you, yes I did change the actual field name in the script to the
field name I have in my table/query - the field for my pictures is
named picfilename and i tried putting the script in the code section
of my web and also just on my page. I get the following error message
when it is in the code(html) section of my web and all the other
results are missing:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'fp_rs'

/Braten.asp, line 54

Thanks, Ann

.



Relevant Pages

  • Re: Object not a collection?
    ... Source: Microsoft VBScript runtime error ... Const REG_SZ = 1 ... Using your script, I get, for .txt, three ...
    (microsoft.public.scripting.vbscript)
  • Re: List group membership
    ... but I get an error when trying to run the script. ... It gives me: Microsoft VBScript runtime error: Object not a collection. ... membership. ...
    (microsoft.public.scripting.vbscript)
  • Re: vbs give me error
    ... My script contain following code ... Microsoft VBScript runtime error: Object required: 'zm_read' ... set regExp = New RegExp: ...
    (microsoft.public.scripting.vbscript)
  • Re: login script error
    ... source: microsoft vbscript runtime error ... With that error I'd guess that you made a bad edit since the script isn't running at all so drives Y and Z can't be getting mapped. ...
    (microsoft.public.vb.syntax)
  • Re: How to display a picture by using an Access database in FrontPage 2003
    ... Microsoft MVP - FrontPage ... Microsoft VBScript runtime error '800a000d' ... yes I did change the actual field name in the script to the ...
    (microsoft.public.frontpage.programming)