Solved

a guidance needed in the following code

Posted on 2013-01-22
3
131 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 15

Accepted Solution

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

Author Closing Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

862 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

27 Experts available now in Live!

Get 1:1 Help Now