I have a single form that is opened via 2 different routes.
Button 1 opens the form with all records displayed
Button 2 opens the form with a filtered selection
This is all fine and dandy and is exactly what I want. However there are some controls on the form that I want to disable if the route I choose is Button 2.
Is there a way of identifying which button routed me to the form so that I can disable or keep enabled certain controls.
Hope this makes sense guys, any assistance would be much appreciated.