I have a very strange one presently... In this application, I have perhaps 10 pick lists which are Combo Box controlled (rather than a dedicated pick list form which I use for either pick lists with extensive choices, or where choices have a significantly long value/string.)
Recently I went through and updated the schema of all pick lists. I was hooking them all to an administrative interface to manage the pick lists.
I just came across one which I had forgotten to update the Combo Box control... and thought it odd it would still be working since the DB schema changed. The Combo Box insists on not reflecting the DB schema change, nor the query change which fills the Combo Box pick list.
According to the old schema, I was selecting only the TITLE, ID cols of data, and had it displaying Col 1, bound to Col 2.
Now my standard is to select all columns from the pick list table, bind the control to Col 5, and Display Col 8. (This Pick List has one additional feature, so it actually has 9 cols.) Then the display settings are as follows:
I can run the DAO.QueryDef that is the Data Source of the Combo Box and get the expected 9 cols of data.
I have even now pasted the SQL into the Combo Box Data Source instead of having it point to the DAO.QueryDef. Here is that query:
I have run my "decompile / compact / compile" cleanup process.
Anyone have a suggestion as to what I might be missing? I have no clue why the Combo Box can still remember the original field layout.
Recently I went through and updated the schema of all pick lists. I was hooking them all to an administrative interface to manage the pick lists.
I just came across one which I had forgotten to update the Combo Box control... and thought it odd it would still be working since the DB schema changed. The Combo Box insists on not reflecting the DB schema change, nor the query change which fills the Combo Box pick list.
According to the old schema, I was selecting only the TITLE, ID cols of data, and had it displaying Col 1, bound to Col 2.
Now my standard is to select all columns from the pick list table, bind the control to Col 5, and Display Col 8. (This Pick List has one additional feature, so it actually has 9 cols.) Then the display settings are as follows:
a. Format Tab:
i. Update the Column Count: 8
ii. Specify custom widths: 0";0";0";0";0";0";0";3"
b. Data Tab:
i. Row Source: Verify the name of the QueryDef the control is bound to
ii. Bound Column: Bind the control to the ID column: 5
I can run the DAO.QueryDef that is the Data Source of the Combo Box and get the expected 9 cols of data.
I have even now pasted the SQL into the Combo Box Data Source instead of having it point to the DAO.QueryDef. Here is that query:
Code:
SELECT t.aid, t.authid, t.authusername, t.logtimestamp, t.id, t.sort, t.active, t.title, t.aqeflg
FROM tmptblqry_metoolingtooltype AS t
WHERE (((t.active)<>0))
ORDER BY t.sort, t.title;
Anyone have a suggestion as to what I might be missing? I have no clue why the Combo Box can still remember the original field layout.