L
Lostguy
Hello!
1) In the Northwind database, they use this query ifrom the Employees
Table in the Employees Form as the RecordSource for a combobox which
has a dropdown to allow you to select who the employee "Reports To":
SELECT Employees.EmployeeID, [LastName] & ", " & [FirstName] AS
ReportsTo FROM Employees ORDER BY Employees.LastName,
Employees.FirstName;
The result is put in back into the Employees Table in the "ReportsTo"
field as "Fuller, Andrew", etc.
I have an Evaluation Report which is supposed to look this:
<Employee> <Reports to>
Smith, Bill Fuller, Andrew
Mr., Technician Dr, Manager
Supply Division Headquarters Division
So, I can make the query based on the Employee Table and the Divisions
Table for everything about Bill Smith ([LName]&", "&[FNName]&Chr10&Chr
(13)&[Title]&", "&[Position]&Chr10&Chr(13)...etc
But for Andrew Fuller, I can use whats in [ReportsTo] in the Employee
Table, but how do I set up the rest so that I am getting the data
(Dr., Manager, etc.) for Fuller vice Smith? Do I put that in the
query, the report, or the original form combo box?
2) Just some schooling needed about this:
That combobox is putting "Fuller, Andrew" in the ReportTo field of the
EmployeeTable. Yet, if you go to Design View, the ReportTo field is a
Number/Long Integer datatype. So is a number gettng stored in there
somewhere that I can't see? How can "Fuller, Andrew" (text) appear in
a field formatted as a number???
Thanks for this and past help! I am learning slowly, but getting
there.
VR/
Lost
1) In the Northwind database, they use this query ifrom the Employees
Table in the Employees Form as the RecordSource for a combobox which
has a dropdown to allow you to select who the employee "Reports To":
SELECT Employees.EmployeeID, [LastName] & ", " & [FirstName] AS
ReportsTo FROM Employees ORDER BY Employees.LastName,
Employees.FirstName;
The result is put in back into the Employees Table in the "ReportsTo"
field as "Fuller, Andrew", etc.
I have an Evaluation Report which is supposed to look this:
<Employee> <Reports to>
Smith, Bill Fuller, Andrew
Mr., Technician Dr, Manager
Supply Division Headquarters Division
So, I can make the query based on the Employee Table and the Divisions
Table for everything about Bill Smith ([LName]&", "&[FNName]&Chr10&Chr
(13)&[Title]&", "&[Position]&Chr10&Chr(13)...etc
But for Andrew Fuller, I can use whats in [ReportsTo] in the Employee
Table, but how do I set up the rest so that I am getting the data
(Dr., Manager, etc.) for Fuller vice Smith? Do I put that in the
query, the report, or the original form combo box?
2) Just some schooling needed about this:
That combobox is putting "Fuller, Andrew" in the ReportTo field of the
EmployeeTable. Yet, if you go to Design View, the ReportTo field is a
Number/Long Integer datatype. So is a number gettng stored in there
somewhere that I can't see? How can "Fuller, Andrew" (text) appear in
a field formatted as a number???
Thanks for this and past help! I am learning slowly, but getting
there.
VR/
Lost