Issue 57513

Summary: OO Base frontend does not recognize UNION SELECT statements
Product: Base Reporter: fqs7432 <afolger>
Component: codeAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.0   
Target Milestone: ---   
Hardware: All   
OS: Linux, all   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
ODB file with two small tables, one query and one report to demonstrate the problem. none

Description fqs7432 2005-11-08 13:46:52 UTC
The function SELECT CASE WHEN works in queries and views, but if a query  
contains such a statement, the design view of the query is no longer available  
and the report generator will refuse to show the fields of that query. 
 
I tried to fool the report generator, by generating a report before the query 
contained the union select part (the second select statement, which follows 
the word UNION, included), and afterwards modifying the query, but the report 
won't generate any report, merely the layout template, if used once the query 
was made to include the UNION SELECT part.
Comment 1 fqs7432 2005-11-08 13:47:57 UTC
Created attachment 31261 [details]
ODB file with two small tables, one query and one report to demonstrate the problem.
Comment 2 fqs7432 2005-11-08 13:49:58 UTC
Sorry, the text in the first paragraph contains an error. Instead of "The 
function SELECT CASE WHEN" it should read "The UNION SELECT statement" 
Comment 3 christoph.lukasiak 2006-05-09 10:57:48 UTC
several 'handmade' sql strings cannot be 'translated' in the query design ui -
this is one of them - to improve the query design in this direction make sense

send further to: 'requirements'