Previous Thread
Next Thread
Print Thread
#145158 11/08/04 07:38 PM
Joined: Oct 2004
Posts: 3
OP Offline
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 = ""
Response.Write"<a href=""Showevent.asp?eventid=" & objrs.Fields ***"eventdate"*** .Value & ">" & objRs***"eventcaption"***& "</a>"
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
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"
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
2023 - on this day in the past . . .
by Mona - Astronomy - 09/30/23 04:10 PM
Psalm for the day
by Angie - 09/30/23 08:36 AM
Astronomical Doodles
by Angie - 09/29/23 07:34 PM
Inspiration Quote
by Angie - 09/29/23 07:32 PM
Denmark's Oscar Entry "The Promised Land"
by Angela - Drama Movies - 09/29/23 05:14 PM
Astro Women - Birthdays
by Mona - Astronomy - 09/29/23 06:25 AM
Sewing with Flannel
by Cheryl - Sewing Editor - 09/27/23 09:33 PM
Gift/Book Shop
by Angie - 09/25/23 10:06 PM
Autumn Equinox
by Angie - 09/25/23 10:03 PM
Garden Wisdom
by Angie - 09/17/23 09:57 PM
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!
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