Well if you want them to keep adding line items without refreshing the screen then you could use DHTML to update a layer with each new line item added.  At the same time you could add the the line item details to to hidden form field values holding lists of product IDs and quantities via _javascript_.

That way it's all done client side until the "checkout" button is pressed...then you have the hidden form field data to parse through and insert the order details into the DB.

HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

  ----- Original Message -----
  From: Kevin Rosenthal
  To: CF-Talk
  Sent: Wednesday, July 21, 2004 1:29 PM
  Subject: Need Help Bad!!

  Hi everyone,

  OK, here is my problem. I am a very new ColdFusion programmer and I have
  been asked to write an Order Entry program for my fathers Clothing
  Manufacturing Company. I have my tables all set using one for the main order
  detail and another for the detail lines. I also have a customer table to
  hold that info. Here is the hold up. I want to create an entry screen for
  the order where the user can enter as many detail lines as they like without
  having to redraw the screen after each line. I was thinking of putting the
  detail lines into an array to be written to the DB once the order page is
  complete.

  Any help or suggestions??

  Thanks,
  Kevin

  --
  Outgoing mail is certified Virus Free.
  Checked by AVG Anti-Virus (http://www.grisoft.com).
  Version: 7.0.253 / Virus Database: 263.4.7 - Release Date: 7/19/2004
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to