Issue 56293 - it translation: cannot use aggregate functions from wizard
Summary: it translation: cannot use aggregate functions from wizard
Status: UNCONFIRMED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOO 2.0 Beta2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 18:42 UTC by dtinazzi
Modified: 2013-02-07 22:34 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description dtinazzi 2005-10-19 18:42:24 UTC
OOO 2.0 rc3 Italian translation - base file connected to MsAccess table (TABLE1).

I use the query wizard to create a query like:

SELECT FIELD1, MIN(FIELD2) FROM TABLE1 GROUP BY FIELD1

FIELD1 and FIELD2 are text fields.

I select the table and FIELD1 and FIELD2 (Step 1), and only Steps from 1 to 3
appairs selectable; to have the possibility to select step 4 I have to add to
FIELD1 and FIELD2 a third field which has to be a numeric field. If I select
only text fields in step 1 (two fields or more), I can't goto step 4 to select
aggregate functions.
Comment 1 marc.neumann 2005-10-24 12:22:51 UTC
Hi,

This is because aggregate functions are not possible with text fields, so if you
only have text fields there are no aggregate functions possible.

I close t his issue as INVALID.

Bye Marc
Comment 2 marc.neumann 2005-10-24 12:23:10 UTC
close
Comment 3 dtinazzi 2005-10-24 15:45:45 UTC
Hi Marc,

I use some db servers and I can, in certain circumstances, use aggregate
functions with text fields; for example, if I have a table like this:

-----------------
Field1  | Field2 |
-----------------
John    |  aaa   |
John    |  bbb   |
Jim     |  ccc   |
Jim     |  ddd   |
-----------------

And I run the query:

SELECT FIELD1, COUNT(FIELD2) AS NUM FROM TABLE1 GROUP BY FIELD1

I obtain:

-----------------
Field1  |  NUM   |
-----------------
John    |   2    |
Jim     |   2    |
-----------------

Another:

SELECT FIELD1, MIN(FIELD2) AS MINDESC FROM TABLE1 GROUP BY FIELD1

The result is:

------------------
Field1  | MINDESC |
------------------
John    |   aaa   |
Jim     |   ccc   |
------------------

The results you see don't change if I attach those databases to OpenOffice Base;
I can write directly the queries you see, and when I run I obtain the results
above. So, I think it would be useful to have the possibility to build that
queries via wizard... What do you think about that?
Comment 4 dtinazzi 2005-10-24 16:02:49 UTC
OOOps, I forgot the name!

Hi Marc, I'm Dario.
Comment 5 christoph.lukasiak 2005-11-08 15:54:31 UTC
i can acknowledge that (should go with databases, that support this function
with text fields) -> send further to: requirements