Crystal Reports?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhappy
    New Member
    • Jul 2007
    • 139

    Crystal Reports?

    Hi All,

    I need to generate employee salary reports using crystal reports, Is it possible..??

    Thanks,
    Aswath.
  • balame2004
    New Member
    • Mar 2008
    • 142

    #2
    Originally posted by bhappy
    Hi All,

    I need to generate employee salary reports using crystal reports, Is it possible..??

    Thanks,
    Aswath.

    Hello,

    Yes, you can generate any kind of reports by using crystal reports.

    1.Design your crystal report by using database tables or typed dataset.
    2.Populate data to crystal report during runtime.



    - Balaji U

    Comment

    • bhappy
      New Member
      • Jul 2007
      • 139

      #3
      Hi,
      Thanks for ur response,

      I need to generate a report for employee salary sheet,im having all employee details(name,de sg, earns,deducts.. ....) in one DataSet, i need to display all fields in my dataset into report.

      Important Note:In dataset i dono column names and no.of columns

      thanks,

      Aswath.

      Comment

      • balame2004
        New Member
        • Mar 2008
        • 142

        #4
        Originally posted by bhappy
        Hi,
        Thanks for ur response,

        I need to generate a report for employee salary sheet,im having all employee details(name,de sg, earns,deducts.. ....) in one DataSet, i need to display all fields in my dataset into report.

        Important Note:In dataset i dono column names and no.of columns

        thanks,

        Aswath.

        Design your crystal report by using database table(from which you retrieve data and store into dataset) during design.

        Then you just populate your dataset to your crystal report. Set reportsource/datasource property of crystal report to dataset.


        - Balaji

        Comment

        • bhappy
          New Member
          • Jul 2007
          • 139

          #5
          Hi Balaji,

          Thanks for ur response,

          I can't design CR at Design time,bcuz at runtime the fields may change/add/delete so im generating report using formula fields and parameter fields, here im fixing some 40 fields at design time and at runtime im assigning values to those formula fields (for ex 25 fields in my DS and remaining 15 im supperssing), Up to here its ok but now im getting an error" Interopservice COMException(): Invalid synatx"

          Any help Plz...........

          thanks,
          Aswath.

          Comment

          • balame2004
            New Member
            • Mar 2008
            • 142

            #6
            Originally posted by bhappy
            Hi Balaji,

            Thanks for ur response,

            I can't design CR at Design time,bcuz at runtime the fields may change/add/delete so im generating report using formula fields and parameter fields, here im fixing some 40 fields at design time and at runtime im assigning values to those formula fields (for ex 25 fields in my DS and remaining 15 im supperssing), Up to here its ok but now im getting an error" Interopservice COMException(): Invalid synatx"

            Any help Plz...........

            thanks,
            Aswath.

            I couldn't predict why the error was coming in your application. You may used invalid syntax in your crystal report.

            Please check your crystal report and also ensure that your dataset contains all the needed fields.


            - Balaji

            Comment

            • bhappy
              New Member
              • Jul 2007
              • 139

              #7
              Hi,

              I found my error, in code behind im supperssing unwanted formula fields there index was out of range..., Now its working fine..

              Thanks,
              Aswath.

              Comment

              Working...