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

Refreshing Grid - Live Scores

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

    Refreshing Grid - Live Scores

    Hi Guys, I have a grid containing scores from a live sporting event which will be viewed on the web by people wishing to follow the progress of players competing.
    The grid will display the scores from 32 matches, which need to instantly update the grid as soon as the results are input. The score guy will input the scores within a form contained in the backend A5 desktop database.
    As the web users will most likely keep the results page grid open while awaiting results to come in, I need to automatically refresh the grid say every 10 seconds so that the web users do not need to do a screen refresh within their browser to display the latest results.

    Any suggestions?
    Thanks

    #2
    Re: Refreshing Grid - Live Scores

    Grids have an Auto-refresh property that can be set to any interval you want. Works very well, clean and fast refreshes.
    -Steve
    sigpic

    Comment


      #3
      Re: Refreshing Grid - Live Scores

      Hi Steve, sounds great. Could you please indicate where to set the interval please.
      Many thanks.

      Comment


        #4
        Re: Refreshing Grid - Live Scores

        Go to the grid properties, and use the Search_Properties link in the upper right corner to find it.
        -Steve
        sigpic

        Comment


          #5
          Re: Refreshing Grid - Live Scores

          Whats this...................some kind of game Steve ? haha.
          I cannot find any properties relating to refresh or interval. Any chance of a clue ?
          I am using v10.5.

          Comment


            #6
            Re: Refreshing Grid - Live Scores

            You posted in the version 11 forum, so it's fair that I thought you were using version 11.

            I don't have a simple answer for how to do this in version 10.5.

            Please post in the appropriate sections in the future.
            -Steve
            sigpic

            Comment


              #7
              Re: Refreshing Grid - Live Scores

              Hi Steve, yes my fault, I did in fact post in the wrong area.
              I have in fact got v11 as well, but as this application was developed in v10.5 I was reluctant to move it to v11 in case some of it did not work the same.
              I am always reluctant to move to a newer version in the middle of development. I think I will do this now, as I need this to work.

              Many thanks for your help mate, I am most grateful.
              Fred

              Comment


                #8
                Re: Refreshing Grid - Live Scores

                It's always nice to see those little gems one didn't know existed.
                Gregg
                https://paiza.io is a great site to test and share sql code

                Comment


                  #9
                  Re: Refreshing Grid - Live Scores

                  hello

                  i think you could use meta tags in the head section for refresh such as
                  <meta http-equiv="refresh" content="value">
                  the value can be any number of seconds you specify.

                  this is why it is so important that one specifies all the details of their end such as
                  the database backend
                  version of alpha five
                  build numbers etc., when asking questions. i have suggested the database backend in another thread and lyle has added to my suggestion regarding the version and the build.
                  forum moderators should take note of this.

                  even if accidentally posted in wrong forum people can answer properly or the question can be moved to proper forum.
                  thanks for reading

                  gandhi

                  version 11 3381 - 4096
                  mysql backend
                  http://www.alphawebprogramming.blogspot.com
                  [email protected]
                  Skype:[email protected]
                  1 914 924 5171

                  Comment


                    #10
                    Re: Refreshing Grid - Live Scores

                    Ghandi - there's a significant difference in performance, behavior, appearance between using a meta tag to refresh the whole page, and the V11 auto-refresh property. Your suggestion is a good one as long as the differences are understood. Given what you can do with javascript and callbacks, a meta tag, to me these days, is not what I choose to recommend.
                    -Steve
                    sigpic

                    Comment


                      #11
                      Re: Refreshing Grid - Live Scores

                      hello

                      there's a significant difference in performance, behavior, appearance between using a meta tag to refresh the whole page, and the V11 auto-refresh property
                      he said he is using version 10.5 and you said


                      I don't have a simple answer for how to do this in version 10.5.
                      if he still wants use version 10.5 i think he can consider the meta tags or move on to version 11, that he has, to use what alpha provides.

                      correct?
                      thanks for reading

                      gandhi

                      version 11 3381 - 4096
                      mysql backend
                      http://www.alphawebprogramming.blogspot.com
                      [email protected]
                      Skype:[email protected]
                      1 914 924 5171

                      Comment


                        #12
                        Re: Refreshing Grid - Live Scores

                        hello

                        here is a javascript function that i saw on the web, refreshes every 5 seconds.

                        Code:
                        <head>
                        <script type="text/JavaScript">
                        <!--
                        function timedRefresh(timeoutPeriod) {
                        	setTimeout("location.reload(true);",timeoutPeriod);
                        }
                        //   -->
                        </script>
                        </head>
                        <body onload="JavaScript:timedRefresh(5000);">
                        ....
                        body content goes here
                        </body>
                        you can check if this is better suited. (i have not tested this yet)
                        thanks for reading

                        gandhi

                        version 11 3381 - 4096
                        mysql backend
                        http://www.alphawebprogramming.blogspot.com
                        [email protected]
                        Skype:[email protected]
                        1 914 924 5171

                        Comment


                          #13
                          Re: Refreshing Grid - Live Scores

                          Fred, you made the right decision moving to v11 !! It offers too many enhancements not to.

                          Comment


                            #14
                            Re: Refreshing Grid - Live Scores

                            Hi Steve, my live scores will have 8 records that can be selected to view scores. The auto refresh grid works well, but always selects record 1 after doing so. How do I get this to work so that it just refreshes the grid and keep the current record selected.

                            Thanks Fred

                            Comment


                              #15
                              Re: Refreshing Grid - Live Scores

                              Hi Fred,

                              I have exactly the same requirement as you described in your original post, and have exactly the same problem as you have noted in the latest post (and I have noticed that it was 18 months ago).
                              Did you resolve this?
                              Thanks in advance.
                              Peter

                              Comment

                              Working...
                              X