Yes, you can do that. Design your queries and save them. Then in your script, you simply paste them into the code (using EDIT->PASTE FROM). In it's simplest form it would look something like this:
Code:
var
qVar query
endvar
;the PASTE FROM starts immediately after "qVar ="
qVar = Query
:myAlias:MyDb.DB | Code | Description |
|Check | Check |
EndQuery
qVar.executeQBE(":priv:answer.db") ;you can change this to be a different table name and location.
;(repeat 3 more times)