Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error

 Post Reply Post Reply
Author
ivonda View Drop Down
Newbie
Newbie


Joined: 20 August 2003
Location: Netherlands
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote ivonda Quote  Post ReplyReply Direct Link To This Post Topic: Error
    Posted: 12 January 2004 at 10:07am

Hello,

Can someone help me out? I have a problem with:

Microsoft VBScript runtime error '800a01a8'
Object required: ''
/photo/vacation/type.asp, line 41

I have added this two lines and I must create an Object!
<img src="<%=(rsTypes.Fields.Item("TYPE_IMAGEHEAD").Value)%> ; ;">
<img src="<%=(rsTypes.Fields.Item("TYPE_IMAGENAME").Value)%> ; ;">

But How do I create an object? Can someone help me out? Please see also the picture of the MDB file. 

Thanks!



Edited by ivonda
Back to Top
aalavar View Drop Down
Groupie
Groupie


Joined: 08 December 2003
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote aalavar Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2004 at 10:38am

Post the code to your type.asp file, or at least the lines around 41, it's not that easy to see what the problem is without it.

However, if I were guessing, I would say the problem is that the field is blank (since there are some blank entries for images in the DB), and you are trying to manipulate that in some way.

Back to Top
redhead View Drop Down
Newbie
Newbie


Joined: 12 January 2004
Location: Canada
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote redhead Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2004 at 10:43am

You have to remove the ; from your quotes, and the .value. It says its using VBScript, not JavaScript. You are using JavaScript syntax.  It should say:

<img src="<%=rsTypes("TYPE_IMAGEHEAD")%>">
<img src="<%=rsTypes("TYPE_IMAGENAME")%>">

That's got to help even if that isn't line 41.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.