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

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

    Frank (others),
    I may not understand exactly what is wanted but subreports and other methods, so far, has enabled me to build virtually any report I have needed utilizing Alpha's report writer.

    Subreports are a very powerful feature of the report writer and sometimes can even be used in ways that were never intended. Although designed for use in a one-to-many set for the children records, I just finished a report in which 2 subreports were used in that way, the 3rd subreport actually just had the parent records....and worked just fine. I have also used them to house calculated fields in a horizontally laid out report that showed the 12 months of data as each can take an independent filter (definitely not what they were designed for!!).

    But use whatever works of course.....but saying that Alpha's report writer cannot do something is somewhat of a generalization IMO when it all depends upon the scenario it is being used for.

    :)


    David,
    I am also wondering exactly what is meant by
    Unfortunately Alpha cannot handle the drill down effect on three different sub reports.
    As far as I know, if you can place the "link" on the report, it can be used.....guessing--maybe you cannot have such a link in a subreport??? I will have to experiment with that when extra time shows up! :)
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________



    Comment


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

      But use whatever works of course.....but saying that Alpha's report writer cannot do something is somewhat of a generalization IMO when it all depends upon the scenario it is being used for.
      The aim of this post is not to say that Alpha can't do something in general - Alpha report writer is EXTREMELY powerful and very capable of just about any task you can throw at it.

      The question is specifically using SQL data with many different children tables. Alpha SETs work great for DBF, which is how the SETs and sub-reports were originally designed, but if people like myself are starting to expand their use of SQL this can be a problem just when using this type of reporting.

      Yes, you can use passive links to create DBF sets and it does work but it is also very slow with many sub-sets and of course is not live data.

      Ideally, I would think, it would be great to be able to create individual sub-reports based on individual tables and just paste them into the report, linking them via a filter.

      But again, this is just referring to a situation where a report is needed with many children sub-reports and using a SQL as a direct Data Source.

      If there is another way, I would love to see it. Thanks!

      Comment


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

        Michael,
        My intention was to try to get people from making generalizations is all....you never did! :)

        regarding
        Ideally, I would think, it would be great to be able to create individual sub-reports based on individual tables and just paste them into the report, linking them via a filter.
        How about using the drill-down feature to do this? That is, have however many reports created, based upon whatever tables you want, and then call them up via the "links" you can create on the report. Not the same as having all the report data visible at all times but maybe workable??

        Wish I had more SQL experience (or even just loaded up) to help on this.:(
        Mike
        __________________________________________
        It is only when we forget all our learning that we begin to know.
        It's not what you look at that matters, it's what you see.
        Henry David Thoreau
        __________________________________________



        Comment


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

          Mike,

          You comment got me thinking . . . . I will have to play with this but couldn't you also just use a calculated field to do an SQL lookup to the desired table, returning the string, then just use that string in the main report? I am not sure how I would write that just let but if that would work, that would be fast and relatively simple . . . but I get the feeling that there is more to this . .I will report back.

          Thanks for the stimulating thought!

          Comment


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

            I have used lookups like that with dbf tables in a report....and even though any lookup still has to open a table, you will be only getting a specific fields data which I would think would be fairly fast. Looking forward to your results.
            Mike
            __________________________________________
            It is only when we forget all our learning that we begin to know.
            It's not what you look at that matters, it's what you see.
            Henry David Thoreau
            __________________________________________



            Comment


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

              I have two problems that I need to find a way to over come:

              1) When I use the sql_lookup on a xbasic page, I would do something like the following:

              Code:
              filterstring = "Patient_id = " + s_quote(patient_id)
               result=SQL_lookup("::Name::USMON","pedicle",filterstring,"spine_level1")
              I have not been able to get "filterstring" to work in the SQL_lookup with the report variable - I can't find a way to manage the filterstring so that the report variable will accept it. If I hard code it with: "Patient_id=389", it works but of course I have to have the actual patient_id be dynamically filled in for the report.

              2) The other problem which I am just not experienced enough with I guess would be xbasic (or would it be sql??): - how would I write an Alpha report variable to generate a "while_End" loop on the child table to create a string pulling several item per row?

              I have a feeling that this could all work but would love for someone to jump in and say "yes" or "no". (if yes then be willing to show us how)

              I have a number of new reports that I have generate with many child tables - if I could do it in Alpha, that would solve MANY problems. Thanks!

              Comment

              Working...
              X