John Hazen
New member
- Local time
- Today, 15:06
- Joined
- Dec 11, 2001
- Messages
- 7
I did some experiments and have found some very strange "behavior". If I build a query on an Employee table using EmpNo:EmployeeID as the Field, I get "Employee ID" as the name in the output (I presume, taken from the field's caption property in the Employee table) My rename to "EmpNo" is ignored. However, if I open the query field's column property sheet (by right clicking on it) and fill in a some other name in the caption property, (like Emp Num) then that name is used and overrides both the specified name (which still shows "Field" box) and the caption property in the table. Now here is the "strange" part... The SQL remains the same either way! It says: "Select EmployeeID as EmpNo from Employees". But when you run it, the query's caption property name is used.
Is there a way around this? I need to use this SQL in a combo box rowsource and the field must be renamed to fit in the column.
Is there a way around this? I need to use this SQL in a combo box rowsource and the field must be renamed to fit in the column.