Hi
Access2002/2007
I've spent days on this and I've run out of ideas.
My form has a combobox ("My_Table_Unique_No_Combobox") which the user can choose to sort upon (via context menu). The combobox is populated with an SQL string
When they use that option an OrderBy of the following appears in the form properties:-
Note the double underscores...
When the form is next opened I re-apply that Orderby.. however a parameter value box appears asking for
If I give it a valid value the form carries on fine for the rest of the session so there can't be too much wrong.
Any idea why Access prompts for that value on the first OrderByOn=True please? I am at a complete standstill on this one... thnx
Access2002/2007
I've spent days on this and I've run out of ideas.
My form has a combobox ("My_Table_Unique_No_Combobox") which the user can choose to sort upon (via context menu). The combobox is populated with an SQL string
Code:
SELECT Table_Name As Category FROM Tbl_Names WHERE etc
When they use that option an OrderBy of the following appears in the form properties:-
Code:
[Lookup_My__Table__Unique__No__Combobox].[Category] DESC
When the form is next opened I re-apply that Orderby.. however a parameter value box appears asking for
Code:
Lookup_My__Table__Unique__No__Combobox.Category
Any idea why Access prompts for that value on the first OrderByOn=True please? I am at a complete standstill on this one... thnx