>> I find that where the query is created as a standalone object the rowset >> doesn't display in a grid on the form. ........ > > What happens when you specifically set the datalink to the grid for the > standalone query
function PUSHBUTTON1_onClick
form.q = new Query()
form.q.sql=[SELECT * FROM mbJob WHERE Id = "A"]
form.q.requestLive := false
form.q.active:=true
form.grid2.datalink = form.q.rowset
return
function PUSHBUTTON1_onClick
q = new Query()
q.sql=[SELECT * FROM mbJob WHERE Id = "A"]
q.requestLive := false
q.active:=true
form.grid2.datalink = q.rowset
return