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

Alphabet search bar / browse

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

    Alphabet search bar / browse

    Is it possible to use the alphabet bar to filter an embedded browse. The form is built on a set of 3 tables. The browse i want to filter with the alphabet bar is not the top level table in the set. When i put the alphabet bar on the form and try to configure it, my only choices are the fields in the top level table.
    J.R.
    Epigate Software, LLC.

    [email protected]
    http://www.epigate.com
    sigpic

    #2
    Re: Alphabet search bar / browse

    Can you not place a button on the form with:
    Code:
    'Sort records on 'BROWSE1:Ttype' in current form.
    topparent.QuickSortExplicit("BROWSE2:your_field_name","Ascending")
    Mike W
    __________________________
    "I rebel in at least small things to express to the world that I have not completely surrendered"

    Comment


      #3
      Re: Alphabet search bar / browse

      Hi Mike,

      I think what JR is trying to do is filter the browse by the selected letter from the Alphabet button not a sort.

      Maybe he should use the Multi-state button with code behind that to filter the browse?
      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


        #4
        Re: Alphabet search bar / browse

        Sorry Mike and Keith, just got back in town.

        Yes, Keith, that is what i want to do, filter the browse. You say i should use a multi state button? Would that mean i would need to add 26 buttons for A-Z? And put the code behind each button to pass the filter criteria and reset any other button that was pressed?
        I am going to need some help with the code if you have the time please.
        J.R.
        Epigate Software, LLC.

        [email protected]
        http://www.epigate.com
        sigpic

        Comment


          #5
          Re: Alphabet search bar / browse

          Take a look at the AlphaSports customer information form.
          There can be only one.

          Comment


            #6
            Re: Alphabet search bar / browse

            Stan, the customer information form has what appears to be a regular alphabet bar based on the last name. This is what i would like to do, but the field i want to filter by is in the browse on the form, and not on the form itself.
            J.R.
            Epigate Software, LLC.

            [email protected]
            http://www.epigate.com
            sigpic

            Comment


              #7
              Re: Alphabet search bar / browse

              what appears to be a regular alphabet bar
              Appearances can be deceiving. It is a multistate button.

              based on the last name
              That's the default which can be changed by selecting another field in the search by box above the single column browse.

              View the Design Notes for a fuller explanation.
              There can be only one.

              Comment


                #8
                Re: Alphabet search bar / browse

                J. R.,

                I believe with the alphabet bar you can still call a field in a child table but you have to set it manually in the key property of the supercontrol designer by typing it in like this: "Table->Field"

                Tried this on a similar form and it worked for me.

                Comment


                  #9
                  Re: Alphabet search bar / browse

                  Stan, for the sake of my sanity, please look at this attachment of the customer information form. It shows an alphabet buttons search bar based on the last name at the bottom.
                  I created a multi-state button just below it to compare, and they are not the same, so I am very confused on your suggestion, hence the sanity concern.
                  Also, I have no button for design notes anywhere, like you show in your attachment, and I went through every form.
                  J.R.
                  Epigate Software, LLC.

                  [email protected]
                  http://www.epigate.com
                  sigpic

                  Comment


                    #10
                    Re: Alphabet search bar / browse

                    Here's a link to AlphaSports Explained, Customer Information form. It seems to contain the same info as the design notes.

                    I don't know anything about the "alphabet buttons search bar" since I don't have v10. To me "search" doesn't mean the same as "filter" so I assumed it was a find tool. Did you try the multistate button on the customer information form? It requires a bit of code modification to make it suit your exact needs but it is worth the effort.
                    There can be only one.

                    Comment


                      #11
                      Re: Alphabet search bar / browse

                      Thanks for the link Stan. Yeah, filter a browse is exctly what i am trying to do. We must have different versions cause there is no multistate button on my customer info form, either that or i am truly a lost ball in high weeds.
                      If you have a form with the multistate button, showing the code, can you post it please.

                      By the way Stan, batten down your hatches down there, it looks like you and me both are going to get some bad weather very shortly. Winds 80+ mph and tornados. I am an EMS manager so it looks like i will be getting called out in it. Stay safe.
                      J.R.
                      Epigate Software, LLC.

                      [email protected]
                      http://www.epigate.com
                      sigpic

                      Comment


                        #12
                        Re: Alphabet search bar / browse

                        Attachment is the V8 AlphaSports sample. It might be worth studying.

                        I read the wiki about the alphabet search bar supercontrol and am still unclear whether it locates records or filters for records.

                        I've done some experimenting with AlphaSports so there mey be a few non standard remnants in the zip but as far as the Customer information form goes it should be ok.
                        There can be only one.

                        Comment


                          #13
                          Re: Alphabet search bar / browse

                          Hi Stan,

                          I use the alphabet search bar supercontrol a lot and find it very easy to set up to filter a browse.

                          My customers like it very much as selecting records is a very quick.
                          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: Alphabet search bar / browse

                            Befuzzled, am I.

                            In post #3 you said.

                            Maybe he should use the Multi-state button with code behind that to filter the browse?
                            That's what I was trying to help him get.
                            There can be only one.

                            Comment


                              #15
                              Re: Alphabet search bar / browse

                              Here is the end result, and it works like I need it to. Stan, the customer information form you sent me is nothing like the one i had, so i seen what you were refering to with the buttons. So when you said "Appearances can be deceiving. It is a multistate button" I was really befuzzled.

                              I used the idea to have a combo selector to determine which field to use for the filter.
                              This is a frankenstein script, taken from a little bit of everyone so if there is something you see wrong with it please let me know.

                              Thanks everyone for your help.

                              dim tbl as P
                              dim filter_expression as c
                              dim order_expression as c
                              dim i as p
                              dim count as n

                              topparent:tables:charts.filter_expression = "left("+searchby.text+", 1) = '" + mulstbtn1.text + "'"
                              topparent:tables:charts.order_expression = searchby.text
                              'topparent:tables:charts.filter_expression = "left(parse_name,1) = '" +mulstbtn.text+ "'"
                              'topparent:tables:charts.order_expression = "parse_name"
                              topparent:tables:charts.query()
                              tbl = table.current()

                              i = tbl.order(order_expression,filter_expression)
                              i = tbl.index_primary_get()

                              count = i.records_get()

                              Dim stats as P
                              stats.count = 0
                              on error goto error_handler
                              stats = compute_field_statistics("topparent:browse4:parse_name")
                              tsted = stats.count
                              if tsted = 0
                              ui_msg_box("Count","There are "+alltrim(str(tsted))+" records in the browse.")
                              tbl.order(parse_name.text,parse_name.text + " <> \"\"")
                              browse4.refresh()
                              mulstbtn.text = "10"
                              end if
                              end
                              error_handler:
                              resume next
                              J.R.
                              Epigate Software, LLC.

                              [email protected]
                              http://www.epigate.com
                              sigpic

                              Comment

                              Working...
                              X