Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quote performance view

Status
Not open for further replies.

Ofina

Technical User
Feb 25, 2004
156
US
I'm trying to make a quote performance query and get the results to look like this:

quote# item quoted qty order 1 Supp 1 ordered qty 1 order 2 Supp 2 ordered qty 2 order …
1 item A 10 100 Supp A 10
1 item B 20 101 Supp B 20
1 item C 30 100 Supp A 25

The formatting got messed up when I pasted. I hope you can make sense of that.

I want it to have as many columns to the right as necessary, depending on how many suppliers' items are ordered off of this one quote.

Any thoughts?

I'm doing this in SSMS right now in preparation for making it a view unto itself so that I can easily bring it into Excel via an MS Query file.

 
Oh most definitely.
However, I'm trying to get the results for the users without their having to do anything extra.
 
Sorry, somehow my post this morning wound up in a different thread.

Read this thread:
thread183-1649930

Lodlaiden

You've got questions and source code. We want both!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top