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

searching specific records

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

    searching specific records

    I have a question, I am fairly new to databases and my associate and I are wondering if it is possible to run a search against a set of records to determine where only one field is different from the other fields. In other words where only one field has a different value from the other records, but where the other fields the values are the same. While not looking for only one field but looking at all the records to show which have one specificly different field. He seems to think this is a mathematical equation that has to be run in excel. If you have any input on this it would be greatly appreciated, or if you know how to configure this and would be able to help us out we would be interested. Thank You.
    Jerrod Sand

    #2
    Re: searching specific records

    It should be possible to write some looping code to do what you want. I'm not clear on what that is.

    Check each record and see if one field is different from others in the same record?
    Check all records and see if one field in one record is different than the same field in all the other records (find a unique value)?
    There can be only one.

    Comment


      #3
      Re: searching specific records

      Sorry I am not very good at describing exactly what I mean yet as far as terminology. Actually to find a unique value in one field among several records where certain other fields are all of the same value as the other records. Such as where fields are "color" "size" "weight" and lets say I want to know where the records have the same value in "color" and "weight" but only one record has "size" as a different value than the other records. or where ONLY ONE record has a different value in "color" and "size" and "weight" are all the same values for all the records. Although it would be on a much larger field list that I would be running the code. It would be very important that the records match all other fields and have ONLY ONE field that has a unique value to the other records and be able to determine what that is and I guess filter the records based on which field I wanted at the time.
      If this makes more sense..... Let me know if you have any ideas on how this could be done please. Thank You.
      Jerrod Sand

      Comment


        #4
        Re: searching specific records

        I'm old and slow. You're going to have to break it down into steps.

        "among several records" - You want to filter for something these several records have in common and then check the records that are selected?
        There can be only one.

        Comment


          #5
          Re: searching specific records

          Thanks Stan for taking a look, Yes it would be from records maybe of a certain date time frame. (like from 1-1-10 through 4-1-10) or maybe against any records from the same town. Then to find if any of them have ONE and ONLY ONE value that is different in ONLY ONE field from the other records but not necessarily any specific field. But to tell us if ANY of the fields have ONLY ONE record with ONE unique value that makes that record different from the other records.
          Jerrod Sand

          Comment


            #6
            Re: searching specific records

            A brute force solution to this would be to examine one field at a time.

            Loop through all the records to see if there is a unique field value present in field1. If so, you've found a "candidate" solution. Otherwise, move to field2 and loop through them to see if there's a unique value there.

            Once a "candidate" solution is found loop through remaining fields in the table to confirm that there are no other unique values present in the "candidate" record.

            this task is not for the fainthearted, and may take more time than volunteers can afford to donate.

            -- tom

            Comment


              #7
              Re: searching specific records

              OK Tom thanks for your input, I have an idea of what you are saying, I don't know what you guys mean by "loop" You are getting what I am trying to say, I have another idea, would maybe a visual approach be a good idea? such as if the records are one value then they will be in red font and if they are another value then they will be in green font or shading? From within the aplha side or possibly a way to shade or font color colunms when they are all the same? Or maybe a better approach would be to pick out records that do not meet all criteria given? But maybe that won't work, because we are looking to find records that have ONLY one field value that does not match.
              Jerrod Sand

              Comment


                #8
                Re: searching specific records

                Depending how big each recod is, something I have done in the past is to concatenate the fields and use Soundex to see if there were any differences. That may identify the records you want.
                Another way is to Join two tables - you may need to copy the ones you want to work with - and only include the records which are different in the result?
                Having said all that, if you are looking for records with only ONE field that doesn't match, does that mean that if you have recods with more than one mismatch you are not interested?
                See our Hybrid Option here;
                https://hybridapps.example-software.com/


                Apologies to anyone I haven't managed to upset yet.
                You are held in a queue and I will get to you soon.

                Comment


                  #9
                  Re: searching specific records

                  Correct if there are more than one field that does not match we are not interested in that record only the ones that have only one field that does not match.......I know....crazy right.
                  Jerrod Sand

                  Comment

                  Working...
                  X