CREATE SQL VIEW vueLineItems AS ; SELECT * from lineitem WHERE order_no = ?order.order_noYour "Next Order" button might contain code like this:
SELECT order SKIP && Changes to next order =REFRESH('vueLineItems') THISFORM.Refresh>I have a bound grid but I would like to filter what is being viewed. I could use a query of view, but I need to be able to change the WHERE clause then refresh the control. What is the best way to accomplish this?