Sorry, let me explain,
I have a query, when it start, no record is selected. I have a menu option Lets call it "A" that will run a process on the selected record.
When a record is selected, I have a default action that will I store that record in an attribute in the LoggedInRegularUser.
In the menu item for "A" i have a condition:
LoggedInRegularUser.selectedItem IS DEFINED
I have the query AutoRefresh set to run when the Process (that updates the LoggedInRegularUser) is run. However, the button for my Process is never enabled. I did test, and if I come into the query with the SelectedItem set, then the button is displayed.
Did I explain it any better?