the queryobj.php file is for insert/delete/update behaviors.
if you don't have that file you are not working with an insert, update or delate behavior.
if you want to see the compiles SQL for a recordset, use:
<?php echo $recordsetName->debugSQL(); ?>
where recordsetName is the name of the recordset.