Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default How to develop a "Shpping Cart"

I need advice to develop an application using excel to develop a "shopping
Cart" procedure.

I have a excel database with product codes and specifications as a table :
headings are in columns and data is in rows. I have many (12) worksheets
where customers can choose (single option botton..True for selected False for
non selected) from diferents segments and products. In each worksheet
customers select or no the right product for them.

The problem:

The database is used to extract references like product name and other
specifications (using funtions like index and vlookup) so if i change the
secuence (order) the specfications will change or get a data error.


The issues here a

1) How to develop the procedure to extract only selected items from database
when the customers click on an "add to cart" button or something like this?

2) How to develop a procedure to put the selected items (extrated above)
into a pre formated customer invoice?

Considerations:

I will also appreciatte If somebody tell me where i can found an example
for this.

Thank for your support.

regards,


alex
madrid-spain


This application will run for only one customer per session.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default How to develop a "Shpping Cart"

Not sure exacly what you are asking for, but what I have done on similar
projects working with Access is to create a query string, such as if your key
is item number, then when you hit the run button for each that is checked
append to a string something like..
if QueryString ="" then querystring = cells(x,y)
if QueryString <"" then querystring = querystring & ", " & cells(x,y)

not the above exactly but basically you are building your db datastring with
all of the selected items. Hope that made sense.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"alex" wrote:

I need advice to develop an application using excel to develop a "shopping
Cart" procedure.

I have a excel database with product codes and specifications as a table :
headings are in columns and data is in rows. I have many (12) worksheets
where customers can choose (single option botton..True for selected False for
non selected) from diferents segments and products. In each worksheet
customers select or no the right product for them.

The problem:

The database is used to extract references like product name and other
specifications (using funtions like index and vlookup) so if i change the
secuence (order) the specfications will change or get a data error.


The issues here a

1) How to develop the procedure to extract only selected items from database
when the customers click on an "add to cart" button or something like this?

2) How to develop a procedure to put the selected items (extrated above)
into a pre formated customer invoice?

Considerations:

I will also appreciatte If somebody tell me where i can found an example
for this.

Thank for your support.

regards,


alex
madrid-spain


This application will run for only one customer per session.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default How to develop a "Shpping Cart"

Thank John. The datastrings has some good points but are limited to 255
characters. I will try it if there are no better solution.

"John Bundy" wrote:

Not sure exacly what you are asking for, but what I have done on similar
projects working with Access is to create a query string, such as if your key
is item number, then when you hit the run button for each that is checked
append to a string something like..
if QueryString ="" then querystring = cells(x,y)
if QueryString <"" then querystring = querystring & ", " & cells(x,y)

not the above exactly but basically you are building your db datastring with
all of the selected items. Hope that made sense.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"alex" wrote:

I need advice to develop an application using excel to develop a "shopping
Cart" procedure.

I have a excel database with product codes and specifications as a table :
headings are in columns and data is in rows. I have many (12) worksheets
where customers can choose (single option botton..True for selected False for
non selected) from diferents segments and products. In each worksheet
customers select or no the right product for them.

The problem:

The database is used to extract references like product name and other
specifications (using funtions like index and vlookup) so if i change the
secuence (order) the specfications will change or get a data error.


The issues here a

1) How to develop the procedure to extract only selected items from database
when the customers click on an "add to cart" button or something like this?

2) How to develop a procedure to put the selected items (extrated above)
into a pre formated customer invoice?

Considerations:

I will also appreciatte If somebody tell me where i can found an example
for this.

Thank for your support.

regards,


alex
madrid-spain


This application will run for only one customer per session.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son[_2_] Excel Programming 2 March 5th 06 12:20 PM


All times are GMT +1. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"