Re: A Challenging Problem I'm Trying to Resolve ....



Thank you Bob, I appreciate your reply - I shall head over to that newsgroup now :)
 
Thanks again
Wayne
 
Wayne wrote:
> This is a copy of a message I previously posted in a Microsoft Access
> Newsgroup, but it was suggested to me that my problem is ASP related
> and not Access, and hence I'm posting in this newsgroup now instead.
>
> Hi everyone,
> I've got quite a specific query that I'm trying to resolve with
> Microsoft Access and I'm hopeful someone out there can offer a
> solution to my problem.
>
> I have records that I'm displaying on a web page from an Access
> database and what I would like to do is include a 'Buy Now' button at
> the end of each record, so when the particular .aspx page

Oops! You're still in the wrong place.
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-knowledgeable person here who
can answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-knowledgeable people hang out. I
suggest microsoft.public.dotnet.framework.aspnet.

> is accessed
> through a users browser and the data pulled from the database, it
> looks something like the following:
>
> Product A    Description A    Price A    'Buy Now Button'
> Product B    Description B    Price B    'Buy Now Button'
> Product C    Description C    Price C    'Buy Now Button'
>
> I'm trying to avoid having to manually add the button to the record
> by way of an OLE Object field, I fear that could be really time
> consuming. I have some code that will work behind each button but I
> need to find a way around two specific problems:
>
> Firstly, how to display the same 'Buy Now' button (or image) at the
> end of each record, without the necessity to add it manually to the

This would be very easy using a datagrid. See the documentation at
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconCreatingASPWebApplications.asp

Specifically, here:
http://msdn.microsoft.com/library/en-us/vbcon/html/vbconDataGridWebControl.asp

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"