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

Is there an easy way to do this?

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

    Is there an easy way to do this?

    I am trying to determine an easy way to display data and have Soccer Officials update their availability online. Attached is a screen shot of the form that the assignor uses to enter their availability. It is an 10 week season 6 days a week. All of this info is stored in one field in a table based upon a referee number.
    Date - date
    Check Mark - checked available, not checked not available to officiate
    A - Available AFTER this time
    B - Available BEFORE this time

    Without breaking this record apart per day and having a parent/child relationship, how can I easily display this data on the web per record?

    The assignor needs to take the data from the web and import it into the Availability table on his computer. I have to leave the data (one record per official) on the assignors computer as there is a massive amount of code that would have to be changed if I break it out into a parent/child relationship.

    If this does not make sense do not hesitate in asking questions.

    Thanks

    #2
    RE: Is there an easy way to do this?

    I have not done this yet, but play around with the Freeform Template option for the Grid. You'd build just one Grid, with no Details section. Add all of the fields to the Available Fields column, but make all but the first one Hide Row. Go to the first and only visable field, click Freeform Template and click HTML Editor. You can build a table structure and type in field placeholders like {myfield1} wherever you need to. You might be able to reproduce your design.

    You would need to have a Search section to let the user find their particular record, especially since the initial screen would have a significant number of fields. Limit the Grid Properties to 1 Row, so the user has to search for their record.

    Again, I have not used Freeform Templates, I could be all wrong.
    Steve Wood
    See my profile on IADN

    Comment


      #3
      RE: Is there an easy way to do this?

      I played around with the column template and could not come up with a format that works. I cannot manipulate the data to the format I want.

      I will keep trying...

      Comment


        #4
        RE: Is there an easy way to do this?

        Philip,

        If I understand correctly, you have a table with two fields:
        RefereeNumber and Schedule. I'm guessing that Schedule is a character field, however, since character fields are limited to 255 characters, I don't know how you get all the data to fit. Perhaps you have one field per week with all fields in one record?

        Anyway, sound like you need to create a lot of calculated fields parsed out of the schedule field(s). Then, you can use the freeform design to display them.

        I've attached a screen shot of a table shown using freeform. Also, if you look at the sample screen shots from Jerry Brightbill's Scheduler, I think he uses this technique also.

        Pat
        Pat Bremkamp
        MindKicks Consulting

        Comment


          #5
          RE: Is there an easy way to do this?

          Pat, here is the structure for the table,

          60 Date Fields (date for season)
          60 Logical Fields (available per date T/F)
          120 Character Fields (Time)(times available per date)
          19 Misc Character and Logical (name, ability level etc)
          Total number of fields per record 259.

          All of this is in ONE record. That is why I am having such a problem displaying this info.

          Thanks
          Phil

          Comment


            #6
            RE: Is there an easy way to do this?

            Philip,

            I have good news for you! You have one of the few situations where the web version is actually superior to the desktop version of A5. Why? Because it is very easy to hide columns. So, you can build a grid that has 259 or so columns, but only display those that you want. For example, you could display only those that are available, or only those that are not available, or only those that are available within a certain time period.

            Here is a snipit of code from one of my pages:
            '================================
            'Each component on a page must have a unique alias (componentName property).
            with tmpl_Company_List ' "== look for this kind of statement
            componentName = "Company_List"
            for x=1 to 12
            field_info[x+2].column.heading=session.CL[x]
            if alltrim(session.CL[x])=""
            field_info[x+2].column.hide=.t.
            end if
            next
            end with
            '================================

            That's all it takes!
            In this case, I created a character session variable array, Dim session.CL[12] as C

            In your case, it might be
            Dim session.gameday[60] as C

            Then, read into the session variable the values from the record in the table that indicate whether you want it to display.

            In my case, I loop through the array and if the column heading is blank, the column is hidden. In your case, you would use a different criteria.

            Good luck,

            Pat
            Pat Bremkamp
            MindKicks Consulting

            Comment


              #7
              RE: Is there an easy way to do this?

              Pat, with your help you gave me the guidance to find a way to do it. Thanks

              Is there anyway to add text above the grid that includes the following cdow(date) ?

              Comment


                #8
                RE: Is there an easy way to do this?

                Philip,

                Yes, if you can get the character dow into a session variable before you call the page. Then, on the page (not the component) above the grid you put A5 code to display it, such as
                "%a5 ?session.dayoftheweek %"

                There may be a way within the grid, but I don't know how.

                Pat
                Pat Bremkamp
                MindKicks Consulting

                Comment


                  #9
                  RE: Is there an easy way to do this?

                  The date field is part of the table. I will give your idea a try. The location where I want to put it is in the Grid FreeForm "above the grid" option. Same location as in the V6 demos where Alpha places the number of records. No matter what I do relative to the formating of the CDOW expression, the output is always the text of the expression. Is it possible to the a5 format to get the CDOW to display?

                  Comment

                  Working...
                  X