creating a ShipCosts database
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12735
interpreted = N
texte = Am scratching my head (of thinning hair) on how to create a database forShipCosts.db that will allow me to charge for freight based on:(a) weight and (b) shipping method....And, oh yes, in the future, I'll want to also break out charges by:(c) zip code (first three digits)....but am not prepared to deal with zip codes yet!Before my newbie brain explodes, am seeking advice on this! To address weight and shipMethod....should I set up a ShipCosts.dbsimilar to below, then use Search with And to look up the correctprice...something like: [Search db=Shipcosts.db&eqWeight=[Weight]rqShipMethod=[ShipMethod]] Shipping Costs: [FoundItems][ShipCost][/FoundItems] [/Search]Or is there a better way to do this, say with more than one database(one for Ground and one for NextDay?) or using LookUp? TIA!Dale StokdykWorld Romancedstokdyk@dvs.mv.com--------------------------------------EXAMPLE db:Weight ShipMethod ShipCost1 Ground 3.002 Ground 4.003 Ground 4.504 Ground 5.001 NextDay 7.002 NextDay 7.003 NextDay 7.004 NextDay 9.005 NextDay 11.00--------------------------------------
Associated Messages, from the most recent to the oldest:
Am scratching my head (of thinning hair) on how to create a database forShipCosts.db that will allow me to charge for freight based on:(a) weight and (b) shipping method....And, oh yes, in the future, I'll want to also break out charges by:(c) zip code (first three digits)....but am not prepared to deal with zip codes yet!Before my newbie brain explodes, am seeking advice on this! To address weight and shipMethod....should I set up a ShipCosts.dbsimilar to below, then use Search with And to look up the correctprice...something like: [Search db=Shipcosts.db&eqWeight=[Weight]rqShipMethod=[ShipMethod]] Shipping Costs:
[founditems][ShipCost][/FoundItems] [/Search]Or is there a better way to do this, say with more than one database(one for Ground and one for NextDay?) or using LookUp? TIA!Dale StokdykWorld Romancedstokdyk@dvs.mv.com--------------------------------------EXAMPLE db:Weight ShipMethod ShipCost1 Ground 3.002 Ground 4.003 Ground 4.504 Ground 5.001 NextDay 7.002 NextDay 7.003 NextDay 7.004 NextDay 9.005 NextDay 11.00--------------------------------------
Dale Stokdyk
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:
Banner DNA (1997)
Forms Search Questions (1997)
User Authentication (2003)
quick [middle] Q (2000)
Serving images from databases (1998)
problems with 2 tags shakur (1997)
WebCat and image maps (1997)
WebDNA-Talk Digests (1997)
Searchable WebCat (etc.) Docs ? (1997)
RE: type 2 errors with ssl server (1997)
How to best sort in a pre-defined item-by-item order ... (2003)
Using Plug-In while running 1.6.1 (1997)
[carts] and databases (1997)
Re:quit command on NT (1997)
wild question (1998)
[WebDNA] SEARCH question - SHOWIF - HIDEIF question (2011)
Ampersand (1997)
[WebDNA] Chrome 56 character encoding (2017)
Keep away (1997)
search form problem.. (1997)