To explain peter57r's point a little more - when you connect to the database under Database Expert there is an option called "Add Command" just on top of the server name. Double click that and a window will open. Enter you SQL query there and the resulting data set will be your table wich you then use to build your report.
Here is some more information on the same: http://publib.boulder.ibm.
Hope this helps.
P.





by: peter57rPosted on 2009-07-05 at 04:52:05ID: 24779703
No.
You can base the whole report on a sql command, using the AddCommand option at the point where you would otherwise select the tables for your report.