A Challenging Problem I"m Trying to Resolve ....

A Challenging Problem I"m Trying to Resolve ....

am 09.11.2005 12:18:44 von wayne

This is a multi-part message in MIME format.

------=_NextPart_000_0053_01C5E51F.5888BBB0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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.=20

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 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 web page =
- and for obvious reasons this would be a headache scenario because new =
records will be added and old ones deleted on a regular basis. I =
therefore need an automated way to include this button each time a new =
record is added.

The second issue I have is how to change two of the components within =
that code so each Buy Now button will represent the unique product it is =
displayed next to, for example I need to work out how to change the =
'Product Name' and 'Price' within the code so its identical to the =
'Product Name' and 'Price' from that particular row of data, and =
obviously without the necessity again to do this manually each time a =
new record is added.

I know this sounds complicated but I am sure there must be a way around =
this, perhaps using Visual Basic for Applications within the Access =
Database itself, but I'm not a programmer so I'm a little unsure how to =
apply the correct VB code to accomplish this task.

If anyone has a suitable solution for this problem I really would be =
grateful.

Many thanks
Wayne

As a footnote, I'm running FrontPage 2003, Access 2003 and IIS 6.0 on a =
Windows 2003 Datacentre Server with ASP.NET 1.1 Installed


------=_NextPart_000_0053_01C5E51F.5888BBB0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">






This is a copy of a message I previously posted in a =
Microsoft=20
Access Newsgroup, but it was suggested to me that my problem is ASP =
related and=20
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=20
with Microsoft Access and I'm hopeful someone out there can offer a =
solution to=20
my problem.

 

I have records that I'm displaying on a web page =
from an=20
Access database and what I would like to do is include a 'Buy Now' =
button at the=20
end of each record, so when the particular .aspx page is accessed =
through a=20
users browser and the data pulled from the database, it looks something =
like the=20
following:

 

Product A    Description =
A   =20
Price A    'Buy Now Button'


Product B   =20
Description B    Price B    'Buy =
Now=20
Button'


Product C   =20
Description C    Price C    'Buy =
Now=20
Button'

 

I'm trying to avoid having to manually add the =
button to the=20
record by way of an OLE Object field, I fear that could be really time=20
consuming.
I have some code that will work behind =
each=20
button but I need to find a way around two specific =
problems:

 

Firstly, how to display the same 'Buy Now' button =
(or image)=20
at the end of each record, without the necessity to add it manually to =
the web=20
page - and for obvious reasons this would be a headache scenario because =
new=20
records will be added and old ones deleted on a regular basis. I =
therefore need=20
an automated way to include this button each time a new record is=20
added.

 

The second issue I have is how to change two of the =
components=20
within that code so each Buy Now button will represent the unique =
product it is=20
displayed next to, for example I need to work out how to change the =
'Product=20
Name' and 'Price' within the code so its identical to the 'Product Name' =
and=20
'Price' from that particular row of data, and obviously without the =
necessity=20
again to do this manually each time a new record is added.

 

I know this sounds complicated but I am sure there =
must be a=20
way around this, perhaps using Visual Basic for Applications within the =
Access=20
Database itself, but I'm not a programmer so I'm a little unsure how to =
apply=20
the correct VB code to accomplish this task.

 

If anyone has a suitable solution for this problem I =
really=20
would be grateful.

 

Many thanks

Wayne

 

As a footnote, I'm running FrontPage 2003, Access =
2003=20
and IIS 6.0 on a Windows 2003 Datacentre Server with ASP.NET 1.1=20
Installed

 

size=3D2> 
=


------=_NextPart_000_0053_01C5E51F.5888BBB0--

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

am 09.11.2005 12:56:35 von reb01501

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/cpconCr eatingASPWebApplications.asp

Specifically, here:
http://msdn.microsoft.com/library/en-us/vbcon/html/vbconData GridWebControl.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"

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

am 09.11.2005 14:19:49 von wayne

This is a multi-part message in MIME format.

------=_NextPart_000_0091_01C5E530.42C16A50
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Thank you Bob, I appreciate your reply - I shall head over to that =
newsgroup now :)

Thanks again
Wayne

"Bob Barrows [MVP]" wrote in message =
news:uf1EiSS5FHA.3188@TK2MSFTNGP15.phx.gbl...
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/cpconCr eatingASPWebA=
pplications.asp

Specifically, here:
=
http://msdn.microsoft.com/library/en-us/vbcon/html/vbconData GridWebContro=
l.asp

Bob Barrows
--=20
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"=20


------=_NextPart_000_0091_01C5E530.42C16A50
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable



charset=3Dwindows-1252">




Thank you Bob, I appreciate your reply - I shall =
head over to=20
that newsgroup now :)

 

Thanks again

Wayne

 

style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bob Barrows [MVP]" < =
href=3D"mailto:reb01501@NOyahoo.SPAMcom">reb01501@NOyahoo.SP AMcom>=
wrote=20
in message =
href=3D"news:uf1EiSS5FHA.3188@TK2MSFTNGP15.phx.gbl">news:uf1 EiSS5FHA.3188=
@TK2MSFTNGP15.phx.gbl...
Wayne=20
wrote:
> This is a copy of a message I previously posted in a =
Microsoft=20
Access
> Newsgroup, but it was suggested to me that my problem =
is ASP=20
related
> and not Access, and hence I'm posting in this =
newsgroup now=20
instead.
>
> Hi everyone,
> I've got quite a =
specific query=20
that I'm trying to resolve with
> Microsoft Access and I'm =
hopeful=20
someone out there can offer a
> solution to my =
problem.
>
>=20
I have records that I'm displaying on a web page from an =
Access
>=20
database and what I would like to do is include a 'Buy Now' button =
at
>=20
the end of each record, so when the particular .aspx page

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

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

This would be very easy using a datagrid. See =
the=20
documentation at
=
href=3D"http://msdn.microsoft.com/library/en-us/cpguide/html /cpconCreatin=
gASPWebApplications.asp">http://msdn.microsoft.com/library/e n-us/cpguide/=
html/cpconCreatingASPWebApplications.asp

Specifically,=20
here:
=
href=3D"http://msdn.microsoft.com/library/en-us/vbcon/html/v bconDataGridW=
ebControl.asp">http://msdn.microsoft.com/library/en-us/vbcon /html/vbconDa=
taGridWebControl.asp

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




------=_NextPart_000_0091_01C5E530.42C16A50--