Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM asp/vbscript shoppingcart problem

date posted 18th January 2001 17:01

noooo! :)

the for...next is a loop if you concat a string as so:

str1=""

for a =0 to 4

str1=str1&a&": "

next

if you write out str1 now you get - "0: 1: 2: 3: 4: "

then youd create the email object and use the concat'd string as the body

same thing applies here you create a string by looping through the items,
when the loop is complete you have a list of items in the string - this will
be placed in the body of the email, which is a seperate entity from the
cart - the cart provide the content, the email the container.

best advice i can give rob is get hold of visual interdev (warez sites
aplenty out there), the book ASP unleashed, and a guide to vbscript and
you'll get the idea in no time. interdev with its intellisense and
highlighting is one of the best asp learning tools there is - far superior
to ultradev which is primarly for designers looking for a quick and dirty
fix to their asp/jsp/cf parts to a project.
its the equivalent of devlopers using square buttons with times new roman
text on every site!

hth

dave ecky

David Eckersall
Kinetic North Limited
A member of the Wize Group of companies
Reg Co No 4100142
Reg Office and Business Address
St James House, Wellington Road North
Stockport SK4 2QN
Office Tel - 00 44 161 975 5900
Office Fax - 00 44 161 975 5924
Web - http://www.kineticnorth.com

This communication contains information which is confidential and may also
be privileged. It is for the exclusive use of the intended recipient(s). If
you are not the intended recipient(s) please note that any form of
distribution, copying or use of this communication or the information in it
is strictly prohibited and may be unlawful. If you have received this
communication in error please return it to the sender. Internet e-mails are
not necessarily secure. Kinetic North Limited does not accept responsibility
for changes made to this message after it was sent. Our messages are checked
for viruses but please note that we do not accept liability for any viruses
which may be transmitted in or with this message.

----- Original Message -----
From: [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Thursday, January 18, 2001 4:29 PM
Subject: RE: FN-FORUM asp/vbscript shoppingcart problem


> Do I stick all this into the body of the email?
>
> UC_rowDelim = Chr(13) & Chr(10) & Chr(13) & Chr(10)
> UC_colDelim = Chr(13) & Chr(10)
> CartData = ""
> for jRow=0 to UCCart1.GetItemCount() -1
> if (iRow 0) Then CartData = CartData & UC_rowDelim
> CartData = CartData & "Title: " & _
> UCCart1.GetColumnValue("Title",jRow) & UC_colDelim
> CartData = CartData & "Quantity: " & _
> UCCart1.GetColumnValue("Quantity",jRow) & UC_colDelim
> CartData = CartData & "Price: $" & _
> UCCart1.GetColumnValue("Price",jRow) & UC_colDelim
> CartData = CartData & "Total: $" & _
> UCCart1.GetColumnValue("Total",jRow) & UC_colDelim
> CartData = CartData & UC_rowDelim
> Next
>
>
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 1000 freelancers
>
> Freelancers and Freelance Jobs
> http://www.freelancers.net
>
> To post to the Forum:
> [EMAIL REMOVED]
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
> To subscribe to the digest for this list or for further information please
visit:
> http://www.freelancers.net/forum.html



Messages by Day
January 31st 2001
January 30th 2001
January 29th 2001
January 28th 2001
January 27th 2001
January 26th 2001
January 25th 2001
January 24th 2001
January 23rd 2001
January 22nd 2001
January 21st 2001
January 20th 2001
January 19th 2001
January 18th 2001
January 17th 2001
January 16th 2001
January 15th 2001
January 14th 2001
January 13th 2001
January 12th 2001
January 11th 2001
January 10th 2001
January 9th 2001
January 8th 2001
January 7th 2001
January 6th 2001
January 5th 2001
January 4th 2001
January 3rd 2001
January 2nd 2001
January 1st 2001


Messages by Month
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000