* Old relation style use child in 0 order tag myorder select master && Master is your query set relation to pkid into child * Correspond to ChildOrder = "myOrder" LinkMaster = "master" RelationalExpression = "pkid" recordsource = "child"Say in fact you want to order names on dBirthDate. You would index view on pkid+dtos(dBirthDate) tag myOrder because just in old relation style (for me in fact not old, still lives :) you wouldn't change order of child to something that doesn't start with pkid (which is RelationalExpresion). This works fast and I use this way. OTOH w/o relation, all view style is possible too :) View's SQL expression would be a parameterized (pseudo) view.
SELECT * from Names ; where pkey in ; (select pkey from (thisform.tcQuery)) * Instead of hardcoding "query" now * custom form property "tcQuery" holds ref to needed table * At first you could set tcQuery to "crsAllNames" * In Form.load, DE.beforeopentables whereever applicable * select pkid from names into cursor crsAllNames * Anytime "query" table changes, you would simply * put new "query" tablename into tcQuery and requery(cYourView) * Grid.recordsource would always be the view itselfCetin