Solved

a guidance needed in the following code

Posted on 2013-01-22
3
134 Views
Last Modified: 2013-06-20
i have a following screenshot, whereas in one form, i need to add the products for single invoice and i can add multiple products.

I can create the new products and price easily, i am facing issue during insert/update, i am doing an insert into two tables rather in one. one for products and other for the invoice so 1 invoice can have n products,

i am having some issues in CRUD, need a bit of guidance in this

i know this will be asked [what you have done so far], honestly nothing, i need fresh idea where i should go ahead
color.bmp
0
Comment
  • 2
3 Comments
 
LVL 10

Expert Comment

by:stu215
ID: 38812141
What kind of problem are you having? Error?

- when you submit the form it should do 2 inserts, one into the header table and the other should loop over line items ( name, qty, price )...?  then return to a printable invoice page?
0
 
LVL 16

Accepted Solution

by:
Gurpreet Singh Randhawa earned 0 total points
ID: 38823713
i solved it
0
 
LVL 16

Author Closing Comment

by:Gurpreet Singh Randhawa
ID: 39261883
Solved by adding a different set to the post
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now