• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

a guidance needed in the following code

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
Gurpreet Singh Randhawa
Gurpreet Singh Randhawa
  • 2
1 Solution
stu215Systems AnalystCommented:
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?
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
i solved it
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
Solved by adding a different set to the post
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now