Jump to content

How to show a count() sentence in a Report


georve

Recommended Posts

Hello everybody in that forum

I`m making a report which shown the count of element in a table. the query is

select RazonLlamada, count(*) from TbLlamadas group by RazonLlamada

in a databasemanager the result is

         RazonLlamada            (No columName)

         customerClaims                 10

         instalation                             2

 

When i put the query in Ireport it work ok, but it has two fiel, the first one is RazonLlamada and the secodn one is unnamed. i have tried to rename to use it in a report but an error apear when try to run the report, because the second field don`t apear in database table.. how can solve this problem??

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...