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

List and repeating container

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

  • List and repeating container

    I am trying to build my first web application, and I am not familiar with coding. I have am using now a desktop application first developed in 2002, updated four years ago. In the desktop version of what I use there is a dbf table called clients, with a primary key. When a client is searched the client address, birthdate etc. fields appears. There I is also browse that populates from another set, showing all the files associated with that client, one client can have many files, with the link being client id.

    I have in my playing around with the web version of the application a list control, with search part, and when a client name is clicked in the list, fields on the ux component are populated with data from the client table (now sql table running on a MySQL database server). I then have repeating container with the file information, still linked by client id. The fields in the repeating component are bound to the table file, and the parent/child link was set up.

    I have no idea of where or what the code is to populate the repeating section when a client is chosen from the list. I tried something in the server side events, tried something on the click the column properties in the list control, and am not getting it. Looked for videos, documentation - knowing this must be a very simple thing to do.

    Sorry for what seems to me is probably a very, very basic question -any help will be, well, helpful.

  • #2
    Re: List and repeating container

    Hey Alan,
    If data is bounded to the ux you want to run an action javascript "Populate Controls in a UX Component with data from Tables" from say an onSelect or onClick event within the list builder
    Alex Collier

    "The spread of computers and the Internet will put jobs in two categories. People who tell computers what to do, and people who are told by computers what to do"

    AA Builds from 5221_5152 to Pre-releases >> Deploying to IIS in AWS

    Comment


    • #3
      Re: List and repeating container

      If I were you I would stay away from repeating sections at all costs. It is FAR easier and superior (to me anyway) to use another list control instead. All you have to do is choose the linking fields and the parent list. There are lots of different ways though. You could also create another component and embed it, then the embedded component can filter by an argument. The argument's value can come from a field in the current list so that in effect your able to open another component and filter based on the current record.
      Lastly, with all of the options involved, just know that it isn't a basic question!

      Repeating sections work with databinding of the UX not the list control - it wouldn't surprise me if you could do it BUT that's the general rule.

      To get what your after, create a second child list. I think you will find that to be really easy to do.


      If you go the Grid route, you can use linked grids in much the same way. Personally, I find myself moving away from grids but for certain things they are just easier to build and complete with a lot less options for you to botch it - but again, I think the list control is the best.

      Good luck!
      NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

      Comment


      • #4
        Re: List and repeating container

        Great explanation charles. Right on point that this opens a whole decision tree of choices to go down. I tend to use grids for fast data entry if the intended user is on a desktop, otherwise everything else is ux with list controls coupled with viewboxs, forrmviews or stamdard controls.
        Alex Collier

        "The spread of computers and the Internet will put jobs in two categories. People who tell computers what to do, and people who are told by computers what to do"

        AA Builds from 5221_5152 to Pre-releases >> Deploying to IIS in AWS

        Comment


        • #5
          Re: List and repeating container

          Thank you. Adding a second list was simple- ultimately. The ultimately was that it was not working at first. I looked finally at the linking table on my SQL database. It had not transferred data correctly. I transferred the data and everything worked. I look at this as the same as forgetting to plug in the computer thirty years ago when my staff had no idea on how to work the new machine that replaced the IBM typewriter on their desk! I have to get use to checking the SQL server to make sure it is OK as well.

          There is a learning curve and I am just at the beginning. The good news is besides everything working OK.

          Again, thank you for the responses.

          Comment


          • #6
            Re: List and repeating container

            Hey Alex! When you say you are using formviews, and viewboxes...what are the advantages of those over lists and grids? I still haven't figured out when and where to use those controls.

            Comment


            • #7
              Re: List and repeating container

              I have realised this thread is in V11. So features of the viewbox and formview are probably not applicable. but here is my answer anyways

              One - I use the viewbox when i don't need the features of a list likke saving back to the database. I use it to solely display data without all the css and footprint the list has
              Two - I use viewbox in conjunction with a listbox and bind the data of the viewbox to the list data soucre. Usually in layouts that sit side by side as clearly dont need a second list
              Three - I tend to have both List and Viewbox on my components. Very rarely i would just use a viewbox.
              Four - The viewbox and list have different ways of dealing with each record in the HTML Template. What i mean is that list will display each record depending on your setting either vertical, horizontal or snaking, the view box will do anything you define in the HTML template along with some CSS.

              With the formview control (this is essential a viewbox with additional features to speed the dev up of Forms). Again i would use i conjunction with a listbox with a detail view.
              Alex Collier

              "The spread of computers and the Internet will put jobs in two categories. People who tell computers what to do, and people who are told by computers what to do"

              AA Builds from 5221_5152 to Pre-releases >> Deploying to IIS in AWS

              Comment

              Working...
              X