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

Printing contents of List Control

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

    Printing contents of List Control

    I can't seem to find a way to print the contents of a List Control. Is this just me not knowing how or is it not possible? (And I don't mean a report with the same query).

    #2
    Re: Printing contents of List Control

    Printing to a document? You could generate an HTML report. HTML report is created from the HTML on the page. I've done this with some lists. I wrapped them inside a Container and gave the Container ID to the Action JavaScript to create an HTML report.
    Alpha Anywhere latest pre-release

    Comment


      #3
      Re: Printing contents of List Control

      I don't believe that list controls were meant for printing. (Any more than a grid is meant for printing.) You could certainly print the screen that the list control is on, but that would not print any list items that were off the screen.

      If you want to print, create a report.

      Comment


        #4
        Re: Printing contents of List Control

        Originally posted by lgrupido View Post
        I don't believe that list controls were meant for printing. (Any more than a grid is meant for printing.) You could certainly print the screen that the list control is on, but that would not print any list items that were off the screen.

        If you want to print, create a report.
        Actually, it would mean creating 96 reports because I do not know how (if it is even possible) to modify the query and structure of a report on the fly. From my recent research, it appears that I could do this with a List control using a json array (which I CAN modify on the fly).

        Comment


          #5
          Re: Printing contents of List Control

          You'd have to get a lot more specific as to what you are trying to do.

          for instance, you could create a generic table with enough fields to fulfill your needs. Then, you could fill the table on the fly with the report data that you want, using the fields however they were needed.

          Then you wouldn't have to modify the query - you'd always be choosing field1, field2, etc...

          but it really depends on the range of reporting and the differences in the data.

          Perhaps you could get by with only 5 reports instead of 96 in a manner like that.

          Comment


            #6
            Re: Printing contents of List Control

            Scenario:
            User is allowed to select 1 to 8 text fields and 1 to 6 numeric fields. The text fields become break fields for subtotals if the user selects the "Totals" checkbox. A report must then be constructed that does or does not have breaks with totals and subtotals (according to user choice) and does not have blank columns. I currently put the data in a generic table with 14 fields, but in order to fill the requirement for NO BLANK COLUMNS, I must build a report for every combination of 8 (break fields) x 6 (value fields) x 2 (totals vs no totals). The results must then be saveable to Excel and perhaps printed. I asked about printing because if that was solved, sometimes it seems to be associated with saving to Excel in Alpha.

            This report generator is a major part of my first project which is already behind schedule due to learning new software (Alpha), new languages (JavaScript and Xbasic) and a whole new paradigm (web vs client/server). Any suggestions on alternatives to handle this would be much appreciated; else I will just have to buckle down and build 96 reports and the javascript to call them.

            Comment


              #7
              Re: Printing contents of List Control

              I think if you put everything into a layout table report, and just exported all the data for all the fields each time, that would work for an excel export. Yes, you would have some columns with no data in them but those would be easy for the user to make disappear. And, if you pushed all the data to the left (as in, if they select field 1 and field 8, put all the data for field 8 into field 2) then all the filled fields will be to the left and all the blank columns to the right.

              Ideal? Probably not - but useable until you come up with a better solution.

              As for doing a report, I would turn each row into an html table row, like this:

              select '<tr>' + case when field1 is null then '' else '<td>' + field1 + '</td>' + case when field2 is null then '' else '<td>' + field2 + '</td>' etc. as MyRowData

              That would put your data into a formatted HTML table row structure. (Which is, really, all that Alpha is doing in the list.)

              If you can then import that data into excel, all the better!

              I've done similar things, but not for what you are describing (which sounds like a horrific pain in the ass, BTW.)

              Comment


                #8
                Re: Printing contents of List Control

                Hi
                Anita Headley
                Have a look at this video �UX_V12�127� do search in the video finder.
                Not sure, it is what you want, but have a look.
                �Printing a report using same filter/ order as a List control�

                Comment


                  #9
                  Re: Printing contents of List Control

                  Though he does need to sort/filter. He actually wants to modify the columns of the report.

                  Comment


                    #10
                    Re: Printing contents of List Control

                    Hi Leif,

                    I cannot find "UX_V12�127" or �Printing a report using same filter/ order as a List control�. Please can you tell me exactly where to find this video.

                    My video library is uptodate.

                    TIA.
                    Regards
                    Keith Hubert
                    Alpha Guild Member
                    London.
                    KHDB Management Systems
                    Skype = keith.hubert


                    For your day-to-day Needs, you Need an Alpha Database!

                    Comment


                      #11
                      Re: Printing contents of List Control

                      Hi
                      it look like the video is not there longer but here is a link
                      http://www.ajaxvideotutorials.com/V1...ist_filter.swf

                      Comment


                        #12
                        Re: Printing contents of List Control

                        The link is there.
                        I found it after using "Printing" as filter.
                        Jo Hulsen
                        Dommel Valley Solutions
                        The Netherlands

                        Comment


                          #13
                          Re: Printing contents of List Control

                          Thanks Leif, will study it closely.

                          Hi Joe, is this the same as printing from a List in a UX?
                          Last edited by Keith Hubert; 06-28-2015, 06:55 AM.
                          Regards
                          Keith Hubert
                          Alpha Guild Member
                          London.
                          KHDB Management Systems
                          Skype = keith.hubert


                          For your day-to-day Needs, you Need an Alpha Database!

                          Comment


                            #14
                            Re: Printing contents of List Control

                            Keith,

                            I don't know, I was merely trying to point out how I found video "UX_V12—127".
                            Jo Hulsen
                            Dommel Valley Solutions
                            The Netherlands

                            Comment


                              #15
                              Re: Printing contents of List Control

                              Jo,

                              Thanks for the pointer but I don't think this is the same, or is it?
                              Regards
                              Keith Hubert
                              Alpha Guild Member
                              London.
                              KHDB Management Systems
                              Skype = keith.hubert


                              For your day-to-day Needs, you Need an Alpha Database!

                              Comment

                              Working...
                              X