To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=104961
                 Issue #|104961
                 Summary|Database query design view generates extra unusable SQ
                        |L text
               Component|Database access
                 Version|OOo 3.1.1
                Platform|PC
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|SRB
             Assigned to|dbaneedsconfirm
             Reported by|karlwescott





------- Additional comments from [email protected] Thu Sep 10 16:23:49 
+0000 2009 -------
In attempting to write a query using the design view feature text in included 
and in previewing and error message is generated "unexpected as".

Design view flawed SQL text:
SELECT "ItemNumber" AS "ItemNumber", "ItemDescription" 
AS "ItemDescription", "StdUM" AS "StdUM", "PurchaseUM" 
AS "PurchaseUM", "SalesUM" AS "SalesUM", "PrimaryVendorNumber" 
AS "PrimaryVendorNumber", "StdPrice" AS "StdPrice", "StdCost" AS "StdCost" 
FROM "IM1_InventoryMasterfile" AS "IM1_InventoryMasterfile"

Note the extra 'AS "IM1_InventoryMasterfile"' at the end.

Switching to SQL mode and removing the extra text results in a usable query 
preview:
SELECT "ItemNumber" AS "ItemNumber", "ItemDescription" 
AS "ItemDescription", "StdUM" AS "StdUM", "PurchaseUM" 
AS "PurchaseUM", "SalesUM" AS "SalesUM", "PrimaryVendorNumber" 
AS "PrimaryVendorNumber", "StdPrice" AS "StdPrice", "StdCost" AS "StdCost" 
FROM "IM1_InventoryMasterfile"

Switching back to design view recreates the flawed text.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to