Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Reporting In Qt From Database
Forum Updated to NodeBB v4.3 + New Features

Reporting In Qt From Database

Scheduled Pinned Locked Moved Solved General and Desktop
16 Posts 4 Posters 4.9k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M4RZB4NiM Offline
    M4RZB4NiM Offline
    M4RZB4Ni
    wrote on last edited by
    #1

    Hello

    I Want to show my Database Records in a Report File
    like crystal report design in Visual Studio
    i Founded some Reporters Like NcReport or LimeReport
    but in this apps user cant use Designed Forms in Own Program!!!!

    What is You Solutions and Methods For Solve This Problem?

    Thanks
    M4RZB4Ni

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Did you test
      https://sourceforge.net/projects/qtrpt/

      M4RZB4NiM 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi
        Did you test
        https://sourceforge.net/projects/qtrpt/

        M4RZB4NiM Offline
        M4RZB4NiM Offline
        M4RZB4Ni
        wrote on last edited by
        #3

        @mrjj
        yes but i dont Found a way for use Design Reports in my app

        Thanks
        M4RZB4Ni

        mrjjM 1 Reply Last reply
        0
        • M4RZB4NiM M4RZB4Ni

          @mrjj
          yes but i dont Found a way for use Design Reports in my app

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @M4RZB4Ni

          well the whole Designer is also a Qt program.
          so should be possible.

          M4RZB4NiM 1 Reply Last reply
          0
          • mrjjM mrjj

            @M4RZB4Ni

            well the whole Designer is also a Qt program.
            so should be possible.

            M4RZB4NiM Offline
            M4RZB4NiM Offline
            M4RZB4Ni
            wrote on last edited by
            #5

            @mrjj
            i want my app can print some data like Invoice For User
            What is your Offer?
            thanks so much

            Thanks
            M4RZB4Ni

            mrjjM 1 Reply Last reply
            0
            • M4RZB4NiM M4RZB4Ni

              @mrjj
              i want my app can print some data like Invoice For User
              What is your Offer?
              thanks so much

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              @M4RZB4Ni

              I never tested qtrpt, just heard good things about it :)
              In any case, you could just give them the Editor.
              it saves as xml and your app can then load them.

              update:
              just had a look at the source code.
              You get the Designer part as nice .pro project
              so it should be super easy to integrate.
              Its a huge editor :)
              So might just want to keep it separate and just start from your app.

              1 Reply Last reply
              2
              • T Offline
                T Offline
                TEHb
                wrote on last edited by
                #7

                Hi!
                It's easy to use Lime Report designer and self-builded report forms from your own application.
                Can you explan in more detail what is the problem?
                Or you can ask your question at http://limereport.ru/forum/index.php?board=1.0 , Lime Report dev's always on-line,welcome!

                M4RZB4NiM 1 Reply Last reply
                2
                • T TEHb

                  Hi!
                  It's easy to use Lime Report designer and self-builded report forms from your own application.
                  Can you explan in more detail what is the problem?
                  Or you can ask your question at http://limereport.ru/forum/index.php?board=1.0 , Lime Report dev's always on-line,welcome!

                  M4RZB4NiM Offline
                  M4RZB4NiM Offline
                  M4RZB4Ni
                  wrote on last edited by
                  #8

                  @TEHb
                  hi
                  i have this app but in database section when i want to present second row of my table this app just return
                  first record of any table!
                  lime forum is a RUS language based and i cant speak Russian :|

                  Thanks
                  M4RZB4Ni

                  F 1 Reply Last reply
                  0
                  • M4RZB4NiM M4RZB4Ni

                    @TEHb
                    hi
                    i have this app but in database section when i want to present second row of my table this app just return
                    first record of any table!
                    lime forum is a RUS language based and i cant speak Russian :|

                    F Offline
                    F Offline
                    Fralx
                    wrote on last edited by
                    #9

                    @M4RZB4Ni
                    Hi
                    Did you specify datasource in databand?

                    PS: limereport forum supports not only Russian users, you can use English there

                    M4RZB4NiM 1 Reply Last reply
                    0
                    • F Fralx

                      @M4RZB4Ni
                      Hi
                      Did you specify datasource in databand?

                      PS: limereport forum supports not only Russian users, you can use English there

                      M4RZB4NiM Offline
                      M4RZB4NiM Offline
                      M4RZB4Ni
                      wrote on last edited by
                      #10

                      @Fralx
                      Yes i use Data source
                      why?

                      Thanks
                      M4RZB4Ni

                      F 1 Reply Last reply
                      0
                      • M4RZB4NiM M4RZB4Ni

                        @Fralx
                        Yes i use Data source
                        why?

                        F Offline
                        F Offline
                        Fralx
                        wrote on last edited by
                        #11

                        @M4RZB4Ni
                        Could you tell me a sequence of your steps? You created datasource based on sql then add Databand to the report and specified the datasource name in the Databand and properties?

                        M4RZB4NiM 1 Reply Last reply
                        0
                        • F Fralx

                          @M4RZB4Ni
                          Could you tell me a sequence of your steps? You created datasource based on sql then add Databand to the report and specified the datasource name in the Databand and properties?

                          M4RZB4NiM Offline
                          M4RZB4NiM Offline
                          M4RZB4Ni
                          wrote on last edited by
                          #12

                          @Fralx
                          First i Create Adatabase Connection
                          then
                          I Create a Datasource With SQL Query
                          then
                          i drop a textlable on Form
                          and when i Double Click on the lable for add data i just can add Row Number One
                          I cant See all rows and select Between Them!

                          Thanks
                          M4RZB4Ni

                          F 1 Reply Last reply
                          0
                          • M4RZB4NiM M4RZB4Ni

                            @Fralx
                            First i Create Adatabase Connection
                            then
                            I Create a Datasource With SQL Query
                            then
                            i drop a textlable on Form
                            and when i Double Click on the lable for add data i just can add Row Number One
                            I cant See all rows and select Between Them!

                            F Offline
                            F Offline
                            Fralx
                            wrote on last edited by
                            #13

                            @M4RZB4Ni
                            You should create Databand then specify there datasource name created early then put textitem on that band

                            M4RZB4NiM 1 Reply Last reply
                            1
                            • F Fralx

                              @M4RZB4Ni
                              You should create Databand then specify there datasource name created early then put textitem on that band

                              M4RZB4NiM Offline
                              M4RZB4NiM Offline
                              M4RZB4Ni
                              wrote on last edited by M4RZB4Ni
                              #14

                              @Fralx
                              I used Data band now But Nothing has changed !
                              IS HAVE Particular way To working With Databands?

                              Thanks
                              M4RZB4Ni

                              F 1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                Fralx
                                wrote on last edited by
                                #15
                                This post is deleted!
                                1 Reply Last reply
                                0
                                • M4RZB4NiM M4RZB4Ni

                                  @Fralx
                                  I used Data band now But Nothing has changed !
                                  IS HAVE Particular way To working With Databands?

                                  F Offline
                                  F Offline
                                  Fralx
                                  wrote on last edited by
                                  #16

                                  @M4RZB4Ni

                                  This video show how to use Data band

                                  1 Reply Last reply
                                  2

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved