Using MS Access, continuous Form, 200 to 600+ records.
I have made a button(SortByDate)
I have made a field(LastUpdate)
This field primarily holds dates, but may be blank or short text(User may enter a note to themselves)
I'm trying to make the button to be a 'toggle' button to sort the records by this LASTUPDATE field.
Press once, is Ascending
Press again, is Descending
or visa versa - Does not matter to ascend or descend first, just toggle.
Name on the button does not need to change nor show Icon for up/down (do not need fancy stuff really)
I am not good at programming(Hardware guy) but I do have some very basic ability.
Any thoughts or suggestion that would push me in the right direction.. maybe the command to use?? .. Is this a 'Filter' command or is there a 'Sort' command in VB code? Suggested code would be wonderful.
I think this should be simple but I am not very good here.
Most of my form is working, I am stuck here.
If making a 'toggle' is too code laborous, I would be fine with a SORT from earliest date on top to readily access old records.
Any help would be appreciated
I have made a button(SortByDate)
I have made a field(LastUpdate)
This field primarily holds dates, but may be blank or short text(User may enter a note to themselves)
I'm trying to make the button to be a 'toggle' button to sort the records by this LASTUPDATE field.
Press once, is Ascending
Press again, is Descending
or visa versa - Does not matter to ascend or descend first, just toggle.
Name on the button does not need to change nor show Icon for up/down (do not need fancy stuff really)
I am not good at programming(Hardware guy) but I do have some very basic ability.
Any thoughts or suggestion that would push me in the right direction.. maybe the command to use?? .. Is this a 'Filter' command or is there a 'Sort' command in VB code? Suggested code would be wonderful.
I think this should be simple but I am not very good here.
Most of my form is working, I am stuck here.
If making a 'toggle' is too code laborous, I would be fine with a SORT from earliest date on top to readily access old records.
Any help would be appreciated