Results 1 to 3 of 3

Thread: kinamu reported help please.

  1. #1
    chris.marsden is offline Sugar Community Member
    Join Date
    Sep 2011
    Posts
    57

    Default kinamu reported help please.

    I am trying to run a report on an accounts module which will show me some random selected information (custom fields) - i want it to report current user only... why will it not output any information???

    sql shown before... i dont get the rskfdzgdpac.id referances... are these correct???

    SELECT COUNT(sugarRecordId) as totalCount from (SELECT rskfdzgdpac.id as sugarRecordId from accounts as rskfdzgdpac LEFT JOIN accounts_cstm as esjxsjjrkwr ON rskfdzgdpac.id = esjxsjjrkwr.id_c WHERE rskfdzgdpac.deleted = '0' AND (((rskfdzgdpac.created_by = 'admin'))) ) as origCountSQL
    Last edited by chris.marsden; 2011-10-14 at 02:16 PM.

  2. #2
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: kinamu reported help please.

    Seems you have not selected any fields.

    christian.

    Quote Originally Posted by chris.marsden View Post
    I am trying to run a report on an accounts module which will show me some random selected information (custom fields) - i want it to report current user only... why will it not output any information???

    sql shown before... i dont get the rskfdzgdpac.id referances... are these correct???

    SELECT COUNT(sugarRecordId) as totalCount from (SELECT rskfdzgdpac.id as sugarRecordId from accounts as rskfdzgdpac LEFT JOIN accounts_cstm as esjxsjjrkwr ON rskfdzgdpac.id = esjxsjjrkwr.id_c WHERE rskfdzgdpac.deleted = '0' AND (((rskfdzgdpac.created_by = 'admin'))) ) as origCountSQL

  3. #3
    citapinc is offline Sugar Community Member
    Join Date
    Sep 2011
    Location
    Anaheim, CA
    Posts
    81

    Default Re: kinamu reported help please.

    Quote Originally Posted by chris.marsden View Post
    I am trying to run a report on an accounts module which will show me some random selected information (custom fields) - i want it to report current user only... why will it not output any information???

    sql shown before... i dont get the rskfdzgdpac.id referances... are these correct???

    SELECT COUNT(sugarRecordId) as totalCount from (SELECT rskfdzgdpac.id as sugarRecordId from accounts as rskfdzgdpac LEFT JOIN accounts_cstm as esjxsjjrkwr ON rskfdzgdpac.id = esjxsjjrkwr.id_c WHERE rskfdzgdpac.deleted = '0' AND (((rskfdzgdpac.created_by = 'admin'))) ) as origCountSQL
    It might be your count() function. Just for tests, replace the count() function with just * and see if any records get selected.

    Next, try building your SQL statement in pieces adding a piece each time until it breaks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installation fails part way through...no errors reported
    By Zerowantuthri in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2010-05-28, 04:31 PM
  2. Upg 5.2k to 5.5.1 file size not properly reported
    By hdanielb in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2010-03-26, 04:27 PM
  3. Filtering the cases reported by a customer
    By sreecareer in forum Web Self Service Portal
    Replies: 1
    Last Post: 2010-03-03, 06:17 AM
  4. Reported Bugs Disappeared?
    By KPope in forum Developer Help
    Replies: 4
    Last Post: 2008-01-02, 04:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •