J
Joe Flyer
Hello all,
I have three tables that are providing information for a report:
1. Labor
2. Vehicle
3. Customer
Each table has one value that relates particular records in each table to
each other. (Unfortunately, I did not design the database, I am simply
trying to extract information from it) In the labor table is Veh_No , which
relates to a record in Vehicle. In Vehicle, I match Veh_No to retrieve
Cust_No, and then proceed to Customer to extract Customer last name. The
report works flawlessly using Dlookup in calculated fields to get me the
information that I want.
However, in order to sort/group based on Customer last name, I need to
perform the lookups in the reports Record Source, and I can't remember how!
My belief is that I will need one query to get me as far as Cust #, and then
the actual query for the report will reference the first query. I don't
know SQL well, and I can't get a dlookup to work properly in the design view
of the underlying query.
Tips, tricks, advice? Thank you!
I have three tables that are providing information for a report:
1. Labor
2. Vehicle
3. Customer
Each table has one value that relates particular records in each table to
each other. (Unfortunately, I did not design the database, I am simply
trying to extract information from it) In the labor table is Veh_No , which
relates to a record in Vehicle. In Vehicle, I match Veh_No to retrieve
Cust_No, and then proceed to Customer to extract Customer last name. The
report works flawlessly using Dlookup in calculated fields to get me the
information that I want.
However, in order to sort/group based on Customer last name, I need to
perform the lookups in the reports Record Source, and I can't remember how!
My belief is that I will need one query to get me as far as Cust #, and then
the actual query for the report will reference the first query. I don't
know SQL well, and I can't get a dlookup to work properly in the design view
of the underlying query.
Tips, tricks, advice? Thank you!