sonaljain123
Registered User.
- Local time
- Today, 05:46
- Joined
- Jul 6, 2011
- Messages
- 68
Hi,
So I have a query which selects 74 account numbers, balance numbers for a date that I select in a form. I have embedded this query in a VB Code of the form and have also created a button which selects the date and runs the query.
But because I want to view the result in a particular order, which is not sorted, what would be the best way to do the same?
I thought I could add another column in the query that would assign 1,2,3,...74 to each of the row and then sort the results according to this column. Any ideas on how to code it up in VBA?
Thanks!
So I have a query which selects 74 account numbers, balance numbers for a date that I select in a form. I have embedded this query in a VB Code of the form and have also created a button which selects the date and runs the query.
But because I want to view the result in a particular order, which is not sorted, what would be the best way to do the same?
I thought I could add another column in the query that would assign 1,2,3,...74 to each of the row and then sort the results according to this column. Any ideas on how to code it up in VBA?
Thanks!