Solved Forms On Load event VS Query Criteria

Sarah.M

Member
Local time
Tomorrow, 02:18
Joined
Oct 28, 2021
Messages
335
Hi, Plz note, My VBA by default is disabled for security reason
I can use only Expression builder, Macros, Queries, Tables, Forms and Reports only.
-‐---------------------------------------------------
Hi,
Can I use the form macro Applyfilter on load event always instead of the queries criteria?
Because for example if I use Macro on load events gives me more customization for example
If user 1 login give him filter1
If user 2 login give him filter3 and so on
So what do you think is the best method?

Thanks!
 
I think the best method is the one that works for your situation and you're most comfortable using. Best could be different for every situation and person.
 
I think the best method is the one that works for your situation and you're most comfortable using. Best could be different for every situation and person.
Hi thanks for replying
Can we use if condition in query criteria?
If user 1 login give him filter1
If user 2 login give him filter3 and so on?
 
Hi thanks for replying
Can we use if condition in query criteria?
If user 1 login give him filter1
If user 2 login give him filter3 and so on?
Yes, you can use conditions in query criteria. But, if you have a lot of conditions, it could get crazy.
 

Users who are viewing this thread

Back
Top Bottom