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:
Restart of DBserver (1997)
Upgrading old WebCat Database Files (1997)
Bug Report, maybe (1997)
Cleaning up user input - fractions (2004)
creating a ShipCosts database (1997)
Announce: WebMerchant 3.0 for Mac shipping now (1998)
Search design (1997)
Re:2nd WebCatalog2 Feature Request (1996)
emailer stuck (1997)
Summary search -- speed (1997)
Forms Search Questions (1997)
Clean Code: Rules for inserting keyboard returns? (1997)
[isfile] ? (1997)
Who is hosting? (2006)
WebCat2 - [include] tags (1997)
Saving Text Areas with Orders (1997)
Question... (2002)
Bug or syntax error on my part? (1997)
Uploading Files and Descriptions W* (2000)
Reversing [ipaddress] normalization (1998)