D
DebbieG
My subform is based on a table. One field is SSN which I have made a
combobox in order to see the name. I added a textbox (called ShowName)
whose Control Source shows the name from the combobox. Everything works
great.
However ... the records showing in the subform are in the order they were
entered into the table. I've tried putting me.orderbyon=true and
me.orderby=ShowName.value in various different places but it doesn't work.
Is there a special way to sort a subform based on a control that isn't a
field from the table? If there is, where would I put it?
Thanks,
Debbie
combobox in order to see the name. I added a textbox (called ShowName)
whose Control Source shows the name from the combobox. Everything works
great.
However ... the records showing in the subform are in the order they were
entered into the table. I've tried putting me.orderbyon=true and
me.orderby=ShowName.value in various different places but it doesn't work.
Is there a special way to sort a subform based on a control that isn't a
field from the table? If there is, where would I put it?
Thanks,
Debbie