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
Inspiration Quote
by Angie - 04/25/24 07:21 PM
Review of Boost Your Online Brand: Make Creative A
by Digital Art and Animation - 04/25/24 07:04 PM
Psalm for the day
by Angie - 04/25/24 09:21 AM
Mother's Day Gift Ideas to Sew
by Cheryl - Sewing Editor - 04/24/24 06:08 PM
Astro Women - Birthdays
by Mona - Astronomy - 04/24/24 03:37 PM
2024 - on this day in the past ...
by Mona - Astronomy - 04/24/24 03:33 PM
Check Out My New Website Selective Focus
by Angela - Drama Movies - 04/24/24 01:47 PM
Sew a Garden Flag
by Cheryl - Sewing Editor - 04/17/24 01:24 PM
Review - Notion for Pattern Designers: Plan, Organ
by Digital Art and Animation - 04/17/24 12:35 AM
Review - Create a Portfolio with Adobe Indesign
by Digital Art and Animation - 04/17/24 12:32 AM
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