Good Day all,
On a form "QueryTimeTable" I have a control "Course" whose data source is from a field "CourseName" in a table "Course".
Using the Control Wizard I was able to setup the populating of the "Course" control.
When I click on the dropdown arrow on the control I can see clearly the list of name spelt out. However when the form is closed and the table is check for the selected name; instead of the string name there is the Course ID number.
Can anyone explain this unexpected results and guide me how to correct this error?
The code generated by the wizard in the row source field of the property sheet is:
SELECT [Course].[ID], [Course].[Course Name] FROM [Course] ORDER BY [Course Name];
Clearly ID is selected, but I did not include it in the selections by the wizard. When I remove it the dropdown control goes empty.
The bound column in the property sheet is set to 1. I have experimented with other number without success.