Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

SQL, Alpha and MS SQL Reporting Services

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SQL, Alpha and MS SQL Reporting Services

    In a recent post (http://msgboard.alphasoftware.com/alphaforum/showthread.php?t=82843) I was asking how best to use MS SQL with Alpha Reports that contains several linked subreports - without using Active/Passive links and Sets.

    After researching other past posts and attempting a lot of potential variations I was unable to get the alpha report to display the data correctly. With DBF it was easy using Sets but active sets using active SQL links can be slow, and my application needs frequent reporting of live data by many clients throughout the day.

    So I started to look for alternatives. Crystal reports are a possibility but very expense and can be complex. However, I stumbled upon MS SQL Server 2008 reporting software that is FREE and seems very powerful!

    I have been playing with it and it seems like it can do what I need plus a whole lot more (charts, graphs, WYSIWUG editors and a lot more.

    Before I spend a lot of time learning this, I am curious if anyone has any experience with using this tool with SQL and Alpha Five?

    #2
    Re: SQL, Alpha and MS SQL Reporting Services

    I'm going through the same process at the moment, related to the speed of report creation of a complex-but-frequently-generated report from an SQL table. Did you find that the SQL reporting services were faster than the Alpha report generator?

    Thanks in advance.

    Comment


      #3
      Re: SQL, Alpha and MS SQL Reporting Services

      That is a bit more complicated on several levels.

      Yes I am using Reporting Services now for several of my more complex reports that would normally require the use of multiple sub-reports using "sets" in dbf tables. Is it faster than a dbf report? . . not really, in fact it can be a little slower (more processes involved going from sql, to report server, to reporting services).

      BUT - it is a LOT faster than using active link tables in a "set" with Alpha five reports. Not to mention that if your report requires multiple sub-reports then there really is no good way to produce them quickly unless you use Reporting Services.

      Now, there is another complication - with reporting services you have to deal with credentialing issues (passwords being passed along with your report). Otherwise the end user will have to enter in credentials each time they click on your report button.

      I spent many, many hours, days, and bought several books on working out a solution - finally had to hire a consultant to write a short aspx script for me (of which I don't fully understand).

      If you find a better way - PLEASE let me know!

      But I have to say overall I really, really do like doing reports in Reporting Services. They are very powerful and fairly easy to use. The end results are great looking reports and you can use an endless number of sub-tables, sub-reports, dashboards, gauges, charts, etc fairly easily. There are MANY books out there just on this single topic, so it is ONE more thing to learn . . . . but I think it will be worth the effort.:)

      Comment


        #4
        Re: SQL, Alpha and MS SQL Reporting Services

        Maybe http://www.dynamiai.nl / is a alternative.
        You can download the Personal Edition. multi language available
        Why don't give it a try, cheaper then Crystal Reports and perhaps easier then reporting Services somewhere in between?.

        Comment


          #5
          Re: SQL, Alpha and MS SQL Reporting Services

          I use Navicat to build any views and then connect directly to Mysql and have no issues with making reports.

          Chad
          Chad Brown

          Comment


            #6
            Re: SQL, Alpha and MS SQL Reporting Services

            Thanks all. I'll let you know what I figure out.

            Comment


              #7
              Re: SQL, Alpha and MS SQL Reporting Services

              I will have to look into this as I am facing the same problem also, with complex multi-child reports that I would LOVE to be able to create as SQL reports but have to resort to passive link tables and background updating etc. I have been told that Alpha are always looking to improve things like this esp. SQL reporting, but it takes a lot of rewriting etc.
              Last edited by NoeticCC; 02-22-2010, 05:35 PM.

              Comment


                #8
                Re: SQL, Alpha and MS SQL Reporting Services

                I know that Navicat also has a report writer i just havent had the time to test it all out. Navicat has support for oracle aswell. It looks like the only sql it doesnt handle is microsoft.

                I can tell you that it is an awesome product.

                Chad
                Chad Brown

                Comment


                  #9
                  Re: SQL, Alpha and MS SQL Reporting Services

                  Originally posted by bea2701 View Post
                  Maybe http://www.dynamiai.nl / is a alternative.
                  You can download the Personal Edition. multi language available
                  Why don't give it a try, cheaper then Crystal Reports and perhaps easier then reporting Services somewhere in between?.
                  The proper link is: http://www.dynamicai.nl/

                  Managed to download it but already managed to "hang" it within 5 minutes. Oops :(

                  I am pretty sure that this does NOT produce any PDF reports, the most it can do is export to Excel.
                  Last edited by NoeticCC; 02-22-2010, 07:26 PM.

                  Comment


                    #10
                    Re: SQL, Alpha and MS SQL Reporting Services

                    thanks for the correction,

                    As you looked at it as I did, there is the benefit of A5 as ONE Package.
                    I hope/request to the future A5 team looking forward of separation for the webserver splitting it up to WAS en reportserver. Benefit ? Scheduled reports, Batch processing,

                    The A5 team can do this it is a matter of priority and time.
                    I see clearly we don't have if it ALL, like Reporting Services etc.
                    But going from > left to right and versus ... noway......
                    I made a point for myself to A5 as one tool for my customer and the future.
                    my2p

                    tally ho...

                    Eric

                    Comment


                      #11
                      Re: SQL, Alpha and MS SQL Reporting Services

                      I'm not sure what types of reports that are needed, but, I am fairly certain that it can be accomplished with alpha's report writer and sql.

                      The way to do a complex report using sql is to build the proper view in sql and then create your report.

                      I think it would take less time and be less expensive to learn how to create the views and use the alpha report writer.
                      Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

                      Comment


                        #12
                        Re: SQL, Alpha and MS SQL Reporting Services

                        If that were only so . . . .

                        No you can't create multiple sub reports in Alpha Report writer with SQL directly without using "sets". The entire definition of an Alpha sub-report is based on DBF Sets.

                        Since a normalized SQL data structure is based on many child or related records then creating some reports absolutely require multiple sub-reports or drill downs to show the associated data.

                        The only alternatives with using the built in Alpha reports are to use links to create DBF sets with the links. This does work but you greatly sacrifice speed and add addition stress to the server.

                        Do note though that many other types of reports that will work perfectly with Alpha report writer using SQL directly - the problem is really when you need a report with multiple sub-reports.

                        This is not only from many hours of experimenting but I also addressed this to Selwyn, who confirmed this. On a bright note, he did say that this is something they will be addressing down the road.

                        Comment


                          #13
                          Re: SQL, Alpha and MS SQL Reporting Services

                          I guess I don't understand what a 'sub report' is. If it is a group of detail records within a group of detail records of a parent record. You can do that forever in sql and alpha. All that those other reports writers do is build a view, you can only get data from sql server with sql language, it's not magic.

                          If you could give me an example of a 'sub report' I would appreciate having a better understanding of the issue.

                          Thanks
                          Last edited by frankbicknell; 02-23-2010, 10:55 AM.
                          Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

                          Comment


                            #14
                            Re: SQL, Alpha and MS SQL Reporting Services

                            Frank
                            here is an example of 'sub reports'

                            I need to produce an invoice to a customer each month.

                            first sub report covers his pallets stored in the warehouse based on a daily rate for the number of days the pallets are in the store.

                            second sub reports covers the storage bins used by the customer based on the number of days the bins have been used.

                            third sub report covers the admin. fee, use of forklifts, trucks, packing materials etc. based on the fixed rate for each item times the number of uses.

                            All of these items are in a single transaction file and based on a category decide on which of the sub reports the transactions belong.

                            Each sub report is summarised and added together on the Invoice and has a drill down on each of the sub reports to look at the details.

                            Now try that in most report writers it is pretty tough -- Crystal Report does this well once you know how to do it.

                            Unfortunately Alpha cannot handle the drill down effect on three different sub reports.

                            Does this help?

                            Comment


                              #15
                              Re: SQL, Alpha and MS SQL Reporting Services

                              Thanks for sharing that. Each Development tool seems to call the same thing by a different name.
                              In VFP you can have as many 'sub reports' or detail bands as you need.
                              Having a quick look at alpha's report designer I assumed that each group added to the report would have a detail band like many other writers.
                              One of my reports has 2 'sub reports' and I have to combine and build it in a third table first. Back to the drawing board for me.
                              Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

                              Comment

                              Working...
                              X