Results 1 to 3 of 3

Thread: Doubt in Crystal Report Design

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    2

    Doubt in Crystal Report Design

    Hi,
    im using crystal reports 9 , MS Access 97 and VB 6.
    Is it possible to retrieve a column in the table to a row in the report?

  2. #2
    Lively Member
    Join Date
    Dec 2004
    Posts
    121

    Re: Doubt in Crystal Report Design

    Are you asking is it possible to create a crosstab query in crystal reports? If so, then yes. If that's what you are trying to do, and you are using Access 97, the easiest thing for you to do would be to use the crosstab query wizard in Access to create a crosstab query, then set the query as your record source.

  3. #3
    Lively Member
    Join Date
    Mar 2005
    Location
    Dhaka, Bangladesh
    Posts
    102

    Re: Doubt in Crystal Report Design

    You can make crosstab in Access by using TRANSFORM and PIVOT. Read it from books. it will help you.

    Example:

    item quantity date

    i1 20 15/05/03
    i2 15 15/05/03
    i1 25 16/05/03
    i1 10 15/05/03


    Query:

    TRANSFORM sum(quantity)
    select item
    from table1
    group by item
    PIVOT Date


    Result:

    item 15/05/03 16/05/03

    i1 30 25
    i2 15 00


    Wishing you best of luck .

    Rajib

Posting Permissions

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



Click Here to Expand Forum to Full Width