473,396 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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 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
Nov 19 '05 #1
2 1329
They were right and sending you here. You should get familiar with ASP.Net
databinding:

http://66.129.71.130/QuickStartv20/a.../datalist.aspx

if you click on the 2nd "run it" you'll see a number of records with a "Show
Detail" column at the front. This is similar to what you want to do. Click
the view source to see more on how they do it.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/

"Wayne" <waynesmith1971(NoSpam)@hotmail.com> wrote in message
news:u8*************@TK2MSFTNGP10.phx.gbl...
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 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
Nov 19 '05 #2
This looks very interesting Karl and with a bit of tweaking I think it could easily apply to my scenario.

Thanks very much for posting the link, I'm going to spend a few hours reading through those pages and see what I can adapt further.

I really appreciate your reply Karl, thanks again.

Kind Regards,
Wayne
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:Ou**************@TK2MSFTNGP14.phx.gbl...
They were right and sending you here. You should get familiar with ASP.Net
databinding:

http://66.129.71.130/QuickStartv20/a.../datalist.aspx

if you click on the 2nd "run it" you'll see a number of records with a "Show
Detail" column at the front. This is similar to what you want to do. Click
the view source to see more on how they do it.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/

"Wayne" <waynesmith1971(NoSpam)@hotmail.com> wrote in message
news:u8*************@TK2MSFTNGP10.phx.gbl...
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 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
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: George | last post by:
Was my question too challenging for everyone? I thought I would get a much quicker response, complete with witty and (sometimes) condescending remarks Here's my question again, in case you missed...
18
by: Frankie | last post by:
I have been hired to go to a former client of mine and train their staff programmers on ASP.NET. These guys have only Mainframe, MS Access, SQL Server, and VB6 desktop application development...
10
by: exekutive | last post by:
I've been wrestling with this programming problem for some time now, so I thought I'd put it up for discussion. I'm trying to design a Mask function. See if you can figure out a code for it... ...
1
by: pemigh | last post by:
I experienced the same problem that I found posted from summer 2005 (apparently too long ago to continue the thread). See below for full description. I found that reinstalling Access 2000 did...
5
by: alainpoint | last post by:
Hi, I have what in my eyes seems a challenging problem. Thanks to Peter Otten, i got the following code to work. It is a sort of named tuple. from operator import itemgetter def...
1
by: vsp15584 | last post by:
Hii..i use the coding as below :- import java.applet.applet; import java.awt.*; import com.sun.j3d.utils.applet.mainframe; import com.sun.j3d.utils.universe.*; import...
4
by: =?Utf-8?B?SnVhbiBEZW50?= | last post by:
Hi, I am getting the following in a VC++ EXE (using VS2005) that links several C++ DLLs and uses MFC and ATL, when I try to start it under the debugger: ------- 'Exactus.UX.Studio.v1.exe':...
3
by: Sindhu Rani | last post by:
i hav created 3 classes in 3 different files. am gettin an error durin compilation. wat shud i do??? C:\s\source>javac -d ..\classes devtestdrive.java devtestdrive.java:5: cannot resolve symbol...
12
by: tvnaidu | last post by:
Trying to mount windows folder on Linux machine, getting this error. I have a folder called "CheckIn" on windows, I made that folder as Network sharing. ON lInux, I tried to access that folder by...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.