I have a continuous form that shows a summary list of records. And another form that is a single form that will only show filtered records that were selected from the 1st form.
The summary form has some combo filters and a command button that opens the second form with only the filtered records. I am using Allen’s Brown’s sample of strWhere to do this.
http://allenbrowne.com/ser-62.html
DoCmd,OpenForm “frmName”,,,strWhere
I also have a few sort command buttons that are using the Me.Orderby=”[FieldName]”
What I can not figure out is how to pass the last sort command from the summary form along with the where condition to the second form.
Any ideas?
The summary form has some combo filters and a command button that opens the second form with only the filtered records. I am using Allen’s Brown’s sample of strWhere to do this.
http://allenbrowne.com/ser-62.html
DoCmd,OpenForm “frmName”,,,strWhere
I also have a few sort command buttons that are using the Me.Orderby=”[FieldName]”
What I can not figure out is how to pass the last sort command from the summary form along with the where condition to the second form.
Any ideas?