Full Version: ColumnHeading
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
azizrasul
I have a combo box on a form where the column headings are set to Yes. Is there a way placing any code which would allow different column headings to appear e.g. DrCode becomes Consultant ID, etc.

DrCode is of course the name of the field in the table. This and other field names come from a Oracle table to which I have no control over.
datAdrenaline
I would suggest to set your RowSource to a SQL Statement and use ALIASES as your Field names ...

SELECT DrCode As [Consultant ID] FROM tblMyTable

Then you column heads will show "Consultant ID" and not DrCode.
NoahP
Do this in the RowSource of the combo box itself: instead of just selecting DrCode as the field in a particular column, use: Consultant ID: DrCode
azizrasul
Thanks guys.
NoahP
You are welcome!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.