Simulating runobject / runform link via on push action

Hi, I have a form i need to run that if i use a command button can set it up to open the foem using the filters / tableview is it possble to simulate this code in an on push action as i have code i want to run first. Also how to you make sure that events in the code do not fire before they should. for example in the following code. do something do soemthing else open form the form often opens before the two do somethings are finished. Bryce

Hi, think of a solution that prooves the something like follows: bool_var1 := something; bool_var2 := somthing else if bool_var1 and bool_var2 then open form … Hope, I helped you Marco