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

Multi-State Button Pblm

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

    Multi-State Button Pblm

    Attached is a zip file. When the form is opened, make another selection in the SearchBy field above the browse, such as contactcity or contactname. Notice the column header changes but the column values do not change.

    I have spent hours trying to figure this one out; why the values do not change. The Multi-State buttons work, View All works. I't just the values do not appear when a new SearchBy field is chosen. Any insight is most welcome, no matter how obvious.

    There is code on the mutli-state button, the form, the SearchBy field and a couple of variables.

    Thanks much to anyone to takes a look at this!!

    kenn
    TYVM :) kenn

    Knowing what you can achieve will not become reality until you imagine and explore.

    #2
    RE: Multi-State Button Pblm

    Ken

    Did the zip file unattach?
    Al Buchholz
    Bookwood Systems, LTD
    Weekly QReportBuilder Webinars Thursday 1 pm CST

    Occam's Razor - KISS
    Normalize till it hurts - De-normalize till it works.
    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
    When we triage a problem it is much easier to read sample systems than to read a mind.
    "Make it as simple as possible, but not simpler."
    Albert Einstein

    http://www.iadn.com/images/media/iadn_member.png

    Comment


      #3
      RE: Multi-State Button Pblm

      Yes it did. I had the box checked and did select the file. Now, I can't even get to the screen that allows for the attachment to be attached.

      kenn
      TYVM :) kenn

      Knowing what you can achieve will not become reality until you imagine and explore.

      Comment


        #4
        RE: Multi-State Button Pblm

        Will the attachment work now?

        kenn
        TYVM :) kenn

        Knowing what you can achieve will not become reality until you imagine and explore.

        Comment


          #5
          RE: Multi-State Button Pblm

          Kenn

          Yup - Works now.

          Looks like the code is doing what you told it to do.

          If you change the column heading for the classlocation object, the title on the browse changes. Are you expecting that to change the values that are displayed in the first column?

          The order of the data changes.

          I put some comments in your code that start with '''alb

          Hope this displays properly on the message board. We'll see.

          Is there some other code that I should be looking at also?

          _________________________________________________________
          'Date Created: 20-Jan-2003 01:22:47 PM
          'Last Updated: 20-Jan-2003 01:22:47 PM
          'Created By :
          'Updated By :
          'set the column heading of the browse object to be the same as the entry selected in the combo box.
          topparent:Browse1:classlocation.Object.Column_title = searchby.text
          '''alb - that changes the column heading

          'now sort table by the field that was selected
          dim tbl as p
          tbl = table.current()
          tbl.order(searchby.text,searchby.text + " \"\"")
          '''alb - the order changes on the browse


          mulstbtn2.text = "2"
          '''alb - does that turn off the multi button choices?
          '''alb - They are A-Z


          'refresh the display
          browse1.refresh()
          '''alb - That it does


          'After changing the SearchBy variable, the data is ordered by the selected field. Set focus to the first record in the sort order.
          topparent.fetch_first()
          '''alb - That it does
          Al Buchholz
          Bookwood Systems, LTD
          Weekly QReportBuilder Webinars Thursday 1 pm CST

          Occam's Razor - KISS
          Normalize till it hurts - De-normalize till it works.
          Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
          When we triage a problem it is much easier to read sample systems than to read a mind.
          "Make it as simple as possible, but not simpler."
          Albert Einstein

          http://www.iadn.com/images/media/iadn_member.png

          Comment


            #6
            RE: Multi-State Button Pblm

            Kenn

            You might consider a conditional object that holds the appropriate browse that you want to each search.

            There's probably a way to change the columns in a browse on the fly, but I don't have it handy.

            I have seen calculated fields that show on the browse and change for the selected condition.

            Just some quick thoughts.
            Al Buchholz
            Bookwood Systems, LTD
            Weekly QReportBuilder Webinars Thursday 1 pm CST

            Occam's Razor - KISS
            Normalize till it hurts - De-normalize till it works.
            Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
            When we triage a problem it is much easier to read sample systems than to read a mind.
            "Make it as simple as possible, but not simpler."
            Albert Einstein

            http://www.iadn.com/images/media/iadn_member.png

            Comment


              #7
              RE: Multi-State Button Pblm

              Al,

              what do you mean by, >>Yup - Works now.
              TYVM :) kenn

              Knowing what you can achieve will not become reality until you imagine and explore.

              Comment


                #8
                RE: Multi-State Button Pblm

                Kenn

                Your prior post asked if the attachment worked.

                I replied - Yup it works.

                I looked at the Alphasports reference to customers.

                It shows one field in the browse and it's a calculated field.

                That's not what your browse is doing.
                Al Buchholz
                Bookwood Systems, LTD
                Weekly QReportBuilder Webinars Thursday 1 pm CST

                Occam's Razor - KISS
                Normalize till it hurts - De-normalize till it works.
                Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                When we triage a problem it is much easier to read sample systems than to read a mind.
                "Make it as simple as possible, but not simpler."
                Albert Einstein

                http://www.iadn.com/images/media/iadn_member.png

                Comment


                  #9
                  RE: Multi-State Button Pblm

                  Sorry Al,

                  I typed the message as more of a question to me, meaning did the attachment actually get attached (because the attachinging didn't work the first time even though I checked the box and selected the file). It was not meant, "does the zip file work". I certainly could have chosen better wording in my first response.

                  The field above the browse in the AlphaSports databse, Customers form reads: 'SearchBy' as the field title and 'Lastname' is the default field. This is a variable, not a calculated field. It is a dropdown combo box where the user can choose a field to appear in the browse. Go ahead, give it a try. Select different fields. Note the column title changes and the values of each field appear as different fields are selected.

                  In my attached file, the column title changes but the values do not change. I'd like to find out why the values do not chanve when a different field is selected.

                  Hope this helps. Thanks,

                  kenn
                  TYVM :) kenn

                  Knowing what you can achieve will not become reality until you imagine and explore.

                  Comment


                    #10
                    RE: Multi-State Button Pblm

                    Kenn

                    Look at the field that is in the customer browse.

                    It is CALC->display

                    It is defined as: eval(Var->vcSearchBy)
                    Al Buchholz
                    Bookwood Systems, LTD
                    Weekly QReportBuilder Webinars Thursday 1 pm CST

                    Occam's Razor - KISS
                    Normalize till it hurts - De-normalize till it works.
                    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                    When we triage a problem it is much easier to read sample systems than to read a mind.
                    "Make it as simple as possible, but not simpler."
                    Albert Einstein

                    http://www.iadn.com/images/media/iadn_member.png

                    Comment


                      #11
                      RE: Multi-State Button Pblm

                      I agree. However, I'm referring to the field above the browse, the search by field. Al, ya got me thinking. I checked out the field in my browse to see if it was a calculated field. It wasn't. I looked at the Drag/Drop list and saw a field called 'Display'. I used that field in the browse. Walla, that did the trick.

                      When you said, that's not what your browse is doing, I didn't intrepret it the way you meant it. Hey, it's below 0 here going for a low of -15. No wonder I'm a bit slow tonight. Better throw another log on the fire (literally)Rustle up some Bacon & Some Beans..........

                      Anyhow, it works and I thank you for your time and help. It is appreciated.

                      kenn
                      TYVM :) kenn

                      Knowing what you can achieve will not become reality until you imagine and explore.

                      Comment


                        #12
                        RE: Multi-State Button Pblm

                        Kenn

                        Are you up in MN? Sorry to hear about the weather. It's only a little warmer in the southern part of Wisconsin. Could you send some snow down please?

                        Glad you got your solution.
                        Al Buchholz
                        Bookwood Systems, LTD
                        Weekly QReportBuilder Webinars Thursday 1 pm CST

                        Occam's Razor - KISS
                        Normalize till it hurts - De-normalize till it works.
                        Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                        When we triage a problem it is much easier to read sample systems than to read a mind.
                        "Make it as simple as possible, but not simpler."
                        Albert Einstein

                        http://www.iadn.com/images/media/iadn_member.png

                        Comment


                          #13
                          RE: Multi-State Button Pblm

                          Yes, half way between Fargo & Duluth.

                          What snow? We hardly have enough to make the ground look half white. Resorts businesses are hurting big time. No snow, no snomobilers, no $$$

                          kenn
                          TYVM :) kenn

                          Knowing what you can achieve will not become reality until you imagine and explore.

                          Comment

                          Working...
                          X