hello
I work on database Northwind, and on tables Products, orders and orederdetails
I have made a windows application,one of its forms contain a listbox that contains all the productname and one textbox and one button.
If the user select the productname for example (Chai,Ikura and Tofu) from the listbox and he enters the year for example 2004 in the textbox and he clicks the button then i a report will appear and show all the CustomerId and the sum of the quantity of each productname that the user selects only and during the year 2004 i.e the report will have the form like that (the form of the report is sent as an attachment)
and thank you for the help and for the time attachdoc.doc