Adobe Dreamweaver Forums



Last 10 THreads :         Multiple Projects on Same Server (Last Post : cmullins@cfsloans.com - Replies : 2 - Views : 4 )           »          dynamic text gets highlighted (Last Post : NedWebs - Replies : 3 - Views : 4 )           »          Publish a 3d scenes as web pages (Last Post : openspark - Replies : 1 - Views : 5 )           »          Adding database RDS Login Dreamweaver 8 Coldfusion 8 (Last Post : Daverms - Replies : 5 - Views : 6 )           »          Dumb CSS question re: graphic alignment (Last Post : meinmichigan - Replies : 0 - Views : 1 )           »          Burn to a CD (Last Post : vodesjardins - Replies : 3 - Views : 4 )           »          Format numbers with leading zeros (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          Event listener (Last Post : NedWebs - Replies : 3 - Views : 4 )           »          mouseover slide menu! ... help! (Last Post : openspark - Replies : 1 - Views : 2 )           »          Trouble with SQL Query Tool on Leopard (Last Post : Daverms - Replies : 8 - Views : 9 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:



Reply
  #1 (permalink)  
Old 10-09-2008, 03:30 PM
Olivia Crazy Horse
 
Posts: n/a
Diggs:
Default Help - need advice on how to do this

I have a form where a part number, qty received, and serial number are entered,
and I generate a request number.
(other information is entered as well, such as name, address, etc.) So it is
one record per request number, easily done and no problems.

Now I am told that for each request number, there could be multple part
numbers and each part number may or may not have a serial number.

I was thinking of splitting up the form and enter the name, etc. first, then
when they submit, it inputs into a table then use cflocation to go to another
screen, passing the reqeust nubmer, to enter the part number, qty, and serial
number. If they check a box to indicate serial number, then I would like to
autogenerate that many serial number entry lines based on the qty entered.

Is there a better and more efficieint way to do this ? The part numbers and
serial number are in a separate table so the part number will repeat but the
serial numbers will be different.

Thanks for any help or advice.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-09-2008, 04:14 PM
Dan Bracuk
 
Posts: n/a
Diggs:
Default Re: Help - need advice on how to do this

Sounds like a shopping cart. I wouldn't store any data into a db or generate
an order number until the user has indicated that he has finished entering data.

You will probably have to take a good look at your database as well. You need
a one to many relationship somewhere.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:49 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk