aneela,
I have made a copy of the database you sent. The 2007 version of Northwind has different field names than the 2000 version I was using.
I have modified the query, form and report that I had shown in previous posts to use the field and table names in the 2007 Northwind.
I found that there were no Orders in the version of 2007 that you sent. I added some Orders for Company A such that I could test the query, form and report. The 2007 version requires that you follow a process to create a Customer Order, submit, complete etc. I was not familiar with the process but managed to get a few records for Company A into the Orders table.
The Report parameters are entered via the Form where you select Company,FromDate, ToDate and Print option. This info is saved in the query
The base query SQL (CustOrderDetailsRange_2007) is
Code:
SELECT Customers.ID
,Orders.[Order ID]
,Orders.[Order Date]
,Products.[Product Name]
,Customers.Company
,[Order Details].Quantity
,[Order Details].[Unit Price]
,([Order Details].[Quantity] * [Order Details].[Unit Price]) AS TotalPrice
FROM Products
INNER JOIN (
(
Customers INNER JOIN Orders ON Customers.ID = Orders.[Customer ID]
) INNER JOIN [Order Details] ON Orders.[Order ID] = [Order Details].[Order ID]
) ON Products.ID = [Order Details].[Product ID]
WHERE Customers.Id = 1
AND Orders.[Order Date] BETWEEN #10 / 12 / 2015 #
AND #25 / 12 / 2015 #;
The WHERE criteria section is filled in based on your selections on the Form. This query(CustOrderDetailsRange_2007) is the record source of the Report.
In addition I have included a module DataDictionary that contains a function DocumentTables. This function reads all non system tables and records info in a table called data_dictionary. The table is rebuilt each time the DocumentTables function is executed. This was helpful when I had to see/use the new field names.
Here is a sample of the data_dictionary info:
Code:
EntryID |
table_name |
table_description |
field_name |
field_description |
ordinal_position |
data_type |
length |
default |
1 |
Customers |
|
ID |
|
0 |
Long |
4 |
|
2 |
Customers |
|
Company |
|
1 |
Text |
50 |
|
3 |
Customers |
|
Last Name |
|
2 |
Text |
50 |
|
4 |
Customers |
|
First Name |
|
3 |
Text |
50 |
|
5 |
Customers |
|
E-mail Address |
|
4 |
Text |
50 |
|
6 |
Customers |
|
Job Title |
|
5 |
Text |
50 |
|
7 |
Customers |
|
Business Phone |
|
6 |
Text |
25 |
|
8 |
Customers |
|
Home Phone |
|
7 |
Text |
25 |
|
9 |
Customers |
|
Mobile Phone |
|
8 |
Text |
25 |
|
10 |
Customers |
|
Fax Number |
|
9 |
Text |
25 |
|
11 |
Customers |
|
Address |
|
10 |
Memo |
0 |
|
12 |
Customers |
|
City |
|
11 |
Text |
50 |
|
13 |
Customers |
|
State/Province |
|
12 |
Text |
50 |
|
14 |
Customers |
|
ZIP/Postal Code |
|
13 |
Text |
15 |
|
15 |
Customers |
|
Country/Region |
|
14 |
Text |
50 |
|
16 |
Customers |
|
Web Page |
|
15 |
Memo |
0 |
|
Here is a picture of the Form (CustomerOrderDetailsInRange_2007)

Here is a picture of the associated report (CustomersOrdersDateRange)

I also added a table called tblChanges to identify changes that I made when setting up the query, form and report for the 2007 Northwind database.
Here is a graphic of the table contents.

I am attaching (zip format) the 2007 database you posted and the latest changes I have made.
As mentioned previously, you are going to have to learn (or hire someone with) database skills - database admin, design, operations, .... To take a demo database (especially the 2007 northwind) and adapt it for your operational/production database is not trivial. You really need to map out and plan your activities. The video tutorials mentioned previously are a good start.
I wish you good luck with your project. And a Merry Christmas and Happy New Year.