Sorting records in a form (subform)

irade92

Registered User.
Local time
Today, 23:47
Joined
Dec 26, 2010
Messages
229
Hello
How to sort entered records in a subform by combo box. Notice combo box has integer value not text. I want to bo sroted by text visibled ASC. The code must be in Command control SORT (See pict enclosed)

I have tried something but not very successfull.
Please help
 

Attachments

  • Sorting.png
    Sorting.png
    44.5 KB · Views: 122
Only way is to join your lookup table in the rowsource of your subform and sort on that actual column
 
Only way is to join your lookup table in the rowsource of your subform and sort on that actual column

Thank you a lot for your effort

I solved this in this way:
on Event dblClick of my field "Artikal"" (cboBox) I put this code "docmd.runcommand acCmdSortAscending" and did the job
 

Users who are viewing this thread

Back
Top Bottom