How can a query be set up on a desktop? The menu is pretty straight forward, select Query when in the Maintain Menu fields session and then enter the query.
When this query is selected and added to the desktop, it creates the run query session with the query number as an argument (tdsqlinv70001!sdsqlcst00101). The argument is ignored. The default query is the last one used and instead of running it as in the menu, it just brings up the session ttadv3180m000.