Shipcost Prob solved, new one arises
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16771
interpreted = N
texte = Hi,I solved my shipcost problem by doing a writefile of the total quantityinto a [cart].db file. Then, in the formula.db, I have it do a quick searchof that cart.db file and the cost that is found, based on that search,returns as the shipping cost.So basically it is as follows:writefile [cart].db and include in the file totqtyin formula.db, it does a search a shipcosts.db based on:[shipmeth][shipto][lookup] in the [cart].db of the totqtyand returns the appropriate cost.However, a new problem as arises, where as I have a quantity of 18.00 thatis in the db but, an amount of 18.01 is returned. I have had the sameproblem with the tax line too.Kevin
Associated Messages, from the most recent to the oldest:
| |
- Shipcost Prob solved, new one arises (Kevin Furuta 1998)
|
Hi,I solved my shipcost problem by doing a writefile of the total quantityinto a
[cart].db file. Then, in the formula.db, I have it do a quick searchof that cart.db file and the cost that is found, based on that search,returns as the shipping cost.So basically it is as follows:writefile
[cart].db and include in the file totqtyin formula.db, it does a search a shipcosts.db based on:[shipmeth][shipto]
[lookup] in the
[cart].db of the totqtyand returns the appropriate cost.However, a new problem as arises, where as I have a quantity of 18.00 thatis in the db but, an amount of 18.01 is returned. I have had the sameproblem with the tax line too.Kevin
Kevin Furuta
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Protect vs Authenicate (1997)
$Replace with [founditems] (1997)
Weird Math and SV (1997)
https validation (2001)
Searching multiple fields (1997)
Generating Options for a Form. (1997)
WebCat-based Chat (2000)
Credit Card Checksum (1997)
Two submit buttons ? (1997)
Interesting speed comparison .. (2003)
Migrating to NT (1997)
RE: Languages (1997)
Conditional searching & displaying (1997)
Giving out error pages (1997)
two unique banners on one page (1997)
Sort Order on a page search (1997)
emailer (1997)
[WebDNA] WebDNA 8.6 announced - New features (2018)
Almost a there but..bye bye NetCloak (1997)
Emailer (WebCat2) (1997)