logo
Previous Thread
Next Thread
Print Thread
#145158 11/08/04 07:38 PM
Joined: Oct 2004
Posts: 3
Newbie
OP Offline
Newbie
Joined: Oct 2004
Posts: 3
Hi girls.....Hoping you can help me out real quick. I am trying to do something like this:

objRS.Filter = "eventdate = 2"
If objrs.EOF then
eventcaption = ""
Else
Response.Write"<a href=""Showevent.asp?eventid=" & objrs.Fields ***"eventdate"*** .Value & ">" & objRs***"eventcaption"***& "</a>"
Response.Write(objRS("eventtime"))
End If
objRS.Filter = adFilterNone


The problem is that my filtered eventcaption does not print on my html page. In fact it prohibits the whole process. Is my syntax incorrect? tut I've taken the parenthesis out of objrs.Fields "eventdate" .Value and changed it to *** to be able to post.

Sponsored Post Advertisement
#145159 12/02/04 12:58 AM
Joined: Jan 2004
Posts: 22,934
Likes: 4
BellaOnline Editor
Highest Posting Power Known to Humanity
Offline
BellaOnline Editor
Highest Posting Power Known to Humanity
Joined: Jan 2004
Posts: 22,934
Likes: 4
I would always start with something simple. Just say

if EOF then
response.write "EOF"
else
response.write "not EOF"
end if

and see which it does. Make sure the basic syntax works. Then just start slowly changing what the response.write puts out on the screen.


Lisa Shea, Low Carb and Video Games Editor
Low Carb Forum

Moderated by  Lisa LowCarb 

Link Copied to Clipboard
Brand New Posts
InDesign Fixed Layout ePub Preset Rotate
by Digital Art and Animation - 09/10/24 01:29 AM
InDesign Fixed Layout ePub Rotate Animation
by Digital Art and Animation - 09/10/24 01:04 AM
InDesign Fixed Layout ePub Hyperlinks
by Digital Art and Animation - 09/07/24 06:13 PM
Inspiration Quote
by Angie - 09/06/24 02:18 PM
InDesign Fixed Layout ePub Dance Animation
by Digital Art and Animation - 09/05/24 06:45 PM
InDesign Fixed Layout ePub Spring Animation
by Digital Art and Animation - 09/05/24 06:37 PM
Hemming Basics
by Angie - 09/04/24 08:29 PM
Psalm for the day
by Angie - 09/03/24 09:07 PM
InDesign Fixed Layout ePub the Motion Path
by Digital Art and Animation - 09/02/24 07:35 PM
once fashion now vintage
by Angie - 09/02/24 07:33 PM
Sponsor
Safety
We take forum safety very seriously here at BellaOnline. Please be sure to read through our Forum Guidelines. Let us know if you have any questions or comments!
Privacy
This forum uses cookies to ensure smooth navigation from page to page of a thread. If you choose to register and provide your email, that email is solely used to get your password to you and updates on any topics you choose to watch. Nothing else. Ask with any questions!


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2022 Minerva WebWorks LLC. All rights reserved.


Powered by UBB.threads™ PHP Forum Software 7.7.5