boblarson
Smeghead
- Local time
- Today, 13:56
- Joined
- Jan 12, 2001
- Messages
- 32,040
Hi guys!
Does anyone know if there is a way to dynamically set a datasheet's column order without changing the recordsource? I can't think of any code that would do it, but maybe someone has done it before.
What I have is a subform displayed in datasheet view and when the main form is opened, it is opened by selecting one of four departments and clicking a button. Now, of course three of those departments want to see the columns in a certain order and the fourth wants it in another order.
My boss (the new one with my new Access developer position) has told me the customer wants this "dynamic" view and I am not sure it can be done without setting a completely different query for the recordset.
So, anyone got any ideas?
Does anyone know if there is a way to dynamically set a datasheet's column order without changing the recordsource? I can't think of any code that would do it, but maybe someone has done it before.
What I have is a subform displayed in datasheet view and when the main form is opened, it is opened by selecting one of four departments and clicking a button. Now, of course three of those departments want to see the columns in a certain order and the fourth wants it in another order.
My boss (the new one with my new Access developer position) has told me the customer wants this "dynamic" view and I am not sure it can be done without setting a completely different query for the recordset.
So, anyone got any ideas?