Sort Buttons on a Sub Form linked to a seperate query?

V

Veewhy

I want to show a Form (On either a tab bar or subform) linked to a query that
shows overdue invoices based on 3 buttons on the form. The 3 Buttons are
30,60,90 days. Whichever one is pressed will requery and only show those
records. When I place a custom form (on the main form) that corretly runs the
queries outside of the main form, it doesn’t work. When I press one of the
sort buttons, it asks for a parameter for ‘Invoices Overdue
Query.DaysOverDue’. What am I doing wrong?, Is it possible to run a subform,
not as a subform, but as a separate form on the main form linked to the query?
 
Top