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

Hiding Confidential Information in a Lookup Database

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

    Hiding Confidential Information in a Lookup Database

    I'm creating a database form that retrieves information from another reference database. The users of the form will be entering a password in a field linked to the reference database table. When a match is made, a number of other correlating fields are populated with information specific to the record related to that password from the reference database.

    There are 2 problems:

    - The field in which the application user must type their password enables a pop up list of all the info in the reference database (which is supposed to be confidential or sequestered).

    - Even if the correct password has been entered, a mouse click will again reveal the contents of the reference database.

    I have already tried turning off the display on the mapping form under the look-up tab, but this only converts the pop-up window to a blank form that users can still use to select other member's information (i.e. by clicking randomly within the pop-up form).

    In the original Alpha 4 (I'm dating myself) version of this application, this problem is solved by selecting "Hidden" under the "Location" option for the Popup window of the lookup or reference database table.

    This is a major hurdle. Any advice that would help hide the information in the lookup database or fill the fields linked to a password so no other confidential info is visible would be greatly appreciated.

    #2
    Re: Hiding Confidential Information in a Lookup Database

    Probably not enough information given.
    are you getting you lookup in field rules, how are you defining the correct user, how are you getting the password, how and where do that enter the password?
    Pictures? sample table/db??
    I too came from pre alpha5
    Dave Mason
    [email protected]
    Skype is dave.mason46

    Comment


      #3
      Re: Hiding Confidential Information in a Lookup Database

      Yes I am facilitating the look-up with the field rules and I have attached my field rule settings below:

      Field Rule Settings.JPG

      Each user is given a different password that is stored along with their other information on a reference database. Thus, when the user enters their password into the text box (as demonstrated in the image below), the form automatically fills in the rest of the information (also shown below):

      User Form.JPGUser Form (After Password).JPG

      However, as I pointed out in the image, an empty look-up form appears beside the password's text box that allows the user to click within this form and see another user's information. I wish to remove this pop-up look-up form while leaving the rest of the operations intact. I have attached a visual of the reference database if needed:

      Reference Database.JPG

      Comment


        #4
        Re: Hiding Confidential Information in a Lookup Database

        Set the user password field value to a session variable. Then use the field rule lookup's filter expression to filter the field on the session var.
        Peter
        AlphaBase Solutions, LLC

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


        Comment


          #5
          Re: Hiding Confidential Information in a Lookup Database

          Peter, I am a very basic user (I am using Action Scripting as opposed to xBasic) so I am not familiar with this process. Would you be able to walk me through the steps to use the session variables?

          I would also like to add that this application is meant for a stand-alone work station without internet access.

          Thanks.

          Comment


            #6
            Re: Hiding Confidential Information in a Lookup Database

            On the form, in the password field's OnDepart event, put in the following code:

            Dim shared vPwd as C = this.value

            This assumes that your password field is character type, if it is numeric type do this:

            Dim shared vPwd as N = this.value

            Then in your field rules/table lookup filter put in something like:

            YourFieldName = var->vPwd

            Then the lookup should only show the records matching the password on the form.
            Peter
            AlphaBase Solutions, LLC

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


            Comment


              #7
              Re: Hiding Confidential Information in a Lookup Database

              Hi Peter,

              This is Robert from Queen's University speaking on behalf of Chris. Thanks for the prompt response. Unfortunately, when following your instructions I have run into an error (it says that the variable vPwd cannot be found). I have attached an image below of the error message:

              Error in Table Rules.JPG

              I was wondering if this had to do with the first line of code that you gave: Dim shared vPwd as C = this.value. In this case, do I enter this.value into xBasic or is the "this" in the equation a substitute for a different file pathway that I should use? I have attached an example of what I have done below:

              xBasic on Form.JPG

              Thanks again.

              Comment


                #8
                Re: Hiding Confidential Information in a Lookup Database

                Hi Robert,

                No you have the syntax right. To simplify this try changing the line of code as follows:

                Dim Global vPwd as N = this.value
                Peter
                AlphaBase Solutions, LLC

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


                Comment


                  #9
                  Re: Hiding Confidential Information in a Lookup Database

                  Oh, in the event that Alpha won't allow you to save that line of code in the field rules. Go edit the table structure and vPwd as a global variable - see image...

                  Global var.png
                  Peter
                  AlphaBase Solutions, LLC

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


                  Comment


                    #10
                    Re: Hiding Confidential Information in a Lookup Database

                    To Peter,

                    Thank you very much for all of your help. However, despite your assistance I have yet to overcome this obstacle. Perhaps it will help if I provide some context to the situation:

                    I am working on recreating a perfectly functioning (DOS) database that I had created with Alpha Four for a Life Science stockroom. I regularly stock the room myself and then faculty check out their desired products through an honour system (i.e. they log in to the database and then choose an item and record their purchase). Upon doing this, the database records who made the purchase (as identified when they enter their password) as well as what was purchased, the total amount to be charged and the grant to charge it to.

                    In an imitation of the old database, I have been trying to create a user form that prompts for a password, and upon providing it, retrieves the user's specific data from a reference database and displays it on a form. Afterwards, the user can select items through a drop-down list of the inventory.

                    Comment


                      #11
                      Re: Hiding Confidential Information in a Lookup Database

                      Upload a sample db in a zip file and I will take a look and get it working for you. Please don't upload Alpha itself.
                      Peter
                      AlphaBase Solutions, LLC

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


                      Comment


                        #12
                        Re: Hiding Confidential Information in a Lookup Database

                        Originally posted by DBMS_Queen's View Post
                        ... a user form that prompts for a password, and upon providing it, retrieves the user's specific data from a reference database and displays it on a form. Afterwards, the user can select items through a drop-down list of the inventory.
                        The first should not use a lookup or prompt any way. Once entered, fetch the matching record and if found complete the form.
                        The second part will, as described.

                        Comment


                          #13
                          Re: Hiding Confidential Information in a Lookup Database

                          Peter,

                          Thank you very much for doing this, I am very grateful for your help both now and before. However, I would feel more comfortable sending this to you over email (as an attachment) if that is alright?

                          Comment


                            #14
                            Re: Hiding Confidential Information in a Lookup Database

                            Peter,

                            I would like to thank you for your valuable assistance. With your prompt help I was able to overcome this major hurdle and continue forward with my creation. I appreciate the time you spent assisting me.

                            Robert

                            Comment

                            Working...
                            X