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

Advanced Search

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

    Advanced Search

    I have not been able to find anything to the contrary on an issue I'm having with the advanced search. Please tell me I'm overlooking something!!

    When I use a "combolist" or a "suggest" control in the advanced search, I setup the Field to Display as the Text field of the record and the Field for search value as the Integer Primary Key.

    The control works as expected to show the options and choose which option to search on:
    advancedsearch1.png

    However, after I select the value it shows the numeric primary key as the value I have selected:
    advancedsearch2.png

    There is no reason for an end user to ever see or know about a primary key. It would be far more helpful for them to see the textual representation of what they selected.
    In the example above I selected "Abraham Wing School" but after selecting the user sees 2 ?!?!?

    Now imagine I want to select multiple agencies, so the user would see 2, 5, 8, 17 etc. instead of Name1, Name2, Name3, etc.

    Is this how this feature was left as production ready?

    Thanks,
    Jeremy

    #2
    Re: Advanced Search

    Alpha would call this an incomplete implementation... not a bug.

    I've confirmed what you're seeing and it's wrong. You'll need to report this to Alpha. There is no production ready for Alpha... no one at Alpha tests this stuff. It's up to developers to find it... and if no one looks at it, it goes through to an "official" release. There are still 6 methods in the List Checkbox which are broken... no testing.

    Comment


      #3
      Re: Advanced Search

      Jeremy,
      I certainly wouldn't bash Alpha the way David has been lately.
      More info about the component you are using and maybe show the setup for the
      search and we might be able to find a legitimate solution.
      Gregg
      https://paiza.io is a great site to test and share sql code

      Comment


        #4
        Re: Advanced Search

        Just report it the Auto-Suggest List and the Edit Combo are broken, they used to work fine. Bild 5887 official release.
        Insanity: doing the same thing over and over again and expecting different results.
        Albert Einstein, (attributed)
        US (German-born) physicist (1879 - 1955)

        Comment


          #5
          Re: Advanced Search

          It is not "Auto-Suggest" or "Edit-Combo". It is the AdvListSearch Control, when using a search field Control Type of "combolist" or "suggest" These options were not fully tested and do not conform to other like controls.

          When a choice is selected, Alpha is showing the "stored value" as the "display value".

          This is broken in "official" release 5887 and in the current pre-release. This has been broken since the AdvancedListSearch Control was introduced in build 5445 - Nov. 2018. This is how bugs creep into "official" releases. Options are added and never tested. These are excellent additions to Alpha... but there's no quality control.
          Last edited by Davidk; 07-16-2019, 11:15 PM.

          Comment


            #6
            Re: Advanced Search

            Well if i am allowed to say i ' Auto-Suggest List and the Edit Combo are broken' as well.
            Insanity: doing the same thing over and over again and expecting different results.
            Albert Einstein, (attributed)
            US (German-born) physicist (1879 - 1955)

            Comment


              #7
              Re: Advanced Search

              You can say it, but I'm not sure it's true... and it wasn't the point. The thread is talking about AdvancedSearchList and you're referring to a different control.

              However, I just created a Textbox, Lookup, Edit-Combo control and set the Stored Value different than the display value... and it's working... under 5887.

              Comment


                #8
                Re: Advanced Search

                UPDATE

                I received a reply that this is not a bug but rather a "feature request" and that it has been done and will be included in tomorrow's release (i.e. 7/18/2019).

                I don't understand why there was a need to go out of their way to change the classification on this issue from a bug to a feature request. Tit for Tat, it doesn't work the way it should. The way it was implemented is not something you would expect from a professional enterprise tool. How many times in your life (as a developer or as a consumer of software) have you ever chosen an item with a textual description from a drop-down list and in turn had that item show you selected a number?

                This is not in any way an attack on Alpha, rather as a consumer of their toolset I have a vested interest to enhance the product to produce the best possible end-user experience so we can all prosper.

                Comment


                  #9
                  Re: Advanced Search

                  Alpha has used this "feature request" designation often over the past year for something that doesn't outright blow up... that works... but not in the expected, or generally accepted, way.

                  I chuckle every time I see it. It simply comes down to a lack of testing.

                  Comment


                    #10
                    Re: Advanced Search

                    Especially when every other combobox works as it should except this new feature added within a recent release (hence why I called it a bug).
                    Both the traditional search controls and data bound controls all show the display value after a selection and not the key value.

                    Comment


                      #11
                      Re: Advanced Search

                      Alpha has used this "feature request" designation often over the past year for something that doesn't outright blow up... that works... but not in the expected, or generally accepted, way.
                      Yeah, it's mickey-mouse to hide behind "feature request" when it's a bug. Or should I say, "regression"?
                      Peter
                      AlphaBase Solutions, LLC

                      [email protected]
                      https://www.alphabasesolutions.com


                      Comment


                        #12
                        Re: Advanced Search

                        This information is now in the pre-release notes. It just feels like something really odd is going on at Alpha.

                        At runtime, the user might select (say) 'Alpha Software' in the dropdown for the CustomerId search field and previously, the stored value (of say 123) would be displayed in the search field. When the query was submitted, a query for CustomerId = 123 would be executed. While this is all correct, the user experience was less than optimal. It would be easier for the user to understand their query if the value 'Alpha Software' was shown in the Advanced Search control after the user made the selection from the dropdown and then when the query was run, the value 'Alpha Software' was resolved to 123 before the actual SQL query was executed.
                        So... now it's not a bug... but rather a less optimal user experience.

                        And... I'm not sure, based on the pre-release info, if the user experience has been made more optimal... or not. It doesn't actually say the problem has been fixed.

                        In testing using Static Data and the ComboList ControlType... with Display and Stored Values... it does not work... this is now more broken than before.
                        Using a Type of Dynamic and ComboList, the search does work.
                        Using Dynamic and Suggest does work for a search.

                        Clear a Search now results in this error.


                        Code:
                        <!DOCTYPE html>
                        <html><head>
                        <title>500 Internal Server Error</title>
                        </head><body>
                        <h1>500 Internal Server Error</h1>
                        <b>Script Error</b><br />Error:Script:a5DialogHelper_computeAdvancedSearch() line:67<br/>
                        Property not found 
                        <br/>
                        pq.advancedSearchControl subelement not found.
                        <p>
                        <hr>
                        <address>Alpha Anywhere Development Server/12.0 Build/5982-5332 at SKULLCANYON Port 1580</address>
                        </body></html>
                        Could someone else try this and confirm what I'm seeing?

                        Comment

                        Working...
                        X