PaulF helped me with this bit of code..
Me.RecordSource = "qry" & Environ("username")
it works great. Actually I changed it to -> "qry" & Current User.
Anyway, How can I change the recordsource of the form to another query with a function? I think if I had a function that would do that, I could call it from a macro and put it on a custom menu.
Me.RecordSource = "qry" & Environ("username")
it works great. Actually I changed it to -> "qry" & Current User.
Anyway, How can I change the recordsource of the form to another query with a function? I think if I had a function that would do that, I could call it from a macro and put it on a custom menu.