Quote Originally Posted by LKBrwn_DBA View Post
Use a CASE function to classify the bills, check it out in the fine Oracle® Database SQL Language Reference.

You should be able to select from a view within Forms 6i. So you need to get the query working as a view and select from the view.