I think Catalyst just means the brackets are un-needed.
--
Rob Collyer -
www.webforumz.com
Web design and development forums for Free help, advice,
tips, and website critique by professional designers and developers.
"Catalyst" <webforumz@webforumz.com> wrote in message
news:Xns952C10E65FAwebforumzwebforumzco@66.75.162. 198...[color=blue]
> "JPRW" <jprojas@earthlink.net> wrote in
> news:960Lc.8840$Qu5.1358@newsread2.news.pas.earthl ink.net:
>[color=green]
> > Hello All.
> >
> > I am having issues with the visualbasic gramatic for the following
> > scenario:
> >
> > I am retrieving information from an Access 2000 Database. The current
> > fields are:
> >
> > ebay, which is a yes / no, showing as -1 or 0
> > ebay_path, which is a memo field with the ebay link to the product
> > auctioned.
> >
> > within the HTML code, I have the following code:
> >
> >
> > ----------------------------------------------------------------------[/color]
> -[color=green]
> > ----- ---
> > <%
> > if elbadet.Fields.Item("ebay").Value = -1 then
> > <a href="<%=(elbadet.Fields.Item("ruta_ebay").Value)%>"
> > target="_blank"><img src="images/content/ebay_auctions.gif"
> > width="296" height="43" border="0"> else
> > <img src="images/content/ebay_auctions_inactive.gif" width="296"
> > height="43" border="0">
> > end if
> > %>
> > ----------------------------------------------------------------------[/color]
>
> Take out the ( ) around the memo being writen out.
>
> <a href="<%=(elbadet.Fields.Item("ruta_ebay").Value)%>"
>
> should be
>
> <a href="<%= elbadet.Fields.Item("ruta_ebay").Value %>"
>
>
> --
> Catalyst
>
www.webforumz.com
> Free Web Design and Development Help, Discussions, tips and Critique!
> ASP, VB, .NET, SQL, CSS, HTML, Javascript, Flash, XML, SEO ![/color]