vicissitude
Registered User.
- Local time
- Today, 17:42
- Joined
- Feb 28, 2010
- Messages
- 92
Would really appreciate some help on this, cant seem to find the solution anywhere.
I have a database dealing with timetables and transport needs.
I have 2 different forms (Timetable and TransportMenu) which call another form (UpdateJourneys) via command buttons which filter info via macros and queries.
When 'Timetable' form calls 'UpdateJourneys' form I want it to sort ascending by [Day] field
When 'TransportMenu' calls 'Updatejourneys' form I want it to sort ascending by [Surname] field
I can work out how to set the sorting characteristics in the form properties but i can't work out how to get it to sort depending on which command button is pressed / Macro runs. Is there a command you can run from the macro?
Many thanks for any help.
I have a database dealing with timetables and transport needs.
I have 2 different forms (Timetable and TransportMenu) which call another form (UpdateJourneys) via command buttons which filter info via macros and queries.
When 'Timetable' form calls 'UpdateJourneys' form I want it to sort ascending by [Day] field
When 'TransportMenu' calls 'Updatejourneys' form I want it to sort ascending by [Surname] field
I can work out how to set the sorting characteristics in the form properties but i can't work out how to get it to sort depending on which command button is pressed / Macro runs. Is there a command you can run from the macro?
Many thanks for any help.