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

Data Entry Form error

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

    #16
    Re: Data Entry Form error

    Image 34.png
    There can be only one.

    Comment


      #17
      Re: Data Entry Form error

      Lonnie, using memo fields all go to the same file on disk. 2 memo fields just increases the fpt file on disk.
      imbedded Images will do the same thing.
      Dave Mason
      [email protected]
      Skype is dave.mason46

      Comment


        #18
        Re: Data Entry Form error

        Robin,

        The user sent me an email that they still received an Error Locking message at the end of the day yesterday with your form. They tried to go to the next record and the error popped up.

        Comment


          #19
          Re: Data Entry Form error

          Lonnie, are you still strugglingwith this or have you fixed it?
          Please advise soonest.
          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


            #20
            Re: Data Entry Form error

            I was testing the form that Robin created, I imported the live data(which is around ~50 records) and the user here was using it yesterday and received the Error Locking message at the end of the day.

            Comment


              #21
              Re: Data Entry Form error

              Lonnie,

              Can you create the same Error situation? - How did the user enter and save the records?
              I have tested with Robin's copy and not able duplicate the ERRORS.

              I have no idea when the error occurred.

              Comment


                #22
                Re: Data Entry Form error

                This is how to replicate the error in Lonnie's version, as that is what he is working with.
                The flow of events to get the error was tortuous and a convoluted series of events, but he is correct.

                Create a record and save it. Now select a tick box but don't save the record
                Open another instance of the form.
                Navigate to the record opened in the previous form.
                You should get the locked out error.
                Tick Box activated, not saved causes Record Locked error. when 2 forms open at the same time. Same record Number trying to be activated twice.

                Solution.
                a) Prevent 2 forms being open at the same time. Test for [yourformname0 - the 0,1,2,3,4 is incremental and is Alpha's way of allowing multiple open forms) and disable it.
                b) Put some logic behind the tick box(s) to always save the record OnChange ('Save record in current form.
                topparent.commit() tried this and it works)
                Last edited by Ted Giles; 03-30-2018, 04:30 AM.
                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


                  #23
                  Re: Data Entry Form error

                  Good morning,

                  Thanks Ted, I believe the form that Robin created added the logic behind all of the checkboxes and radio buttons to save the record OnChange, I don't fully understand preventing 2 forms being open, is that something AlphaFive is doing in the background, because the user is not actually opening multiple forms, and if it's something Alpha Five is doing in the background how do you disable it?

                  Thanks for all of your help!

                  Comment


                    #24
                    Re: Data Entry Form error

                    I refer to post 20. It seems that the error persists. I will look at Robin's construction next.
                    It is possible that the user is not aware that they have opened the form twice, or indeed that a version is remaining resident on the server instance.
                    If the user menu bar ( if you are showing it )shows just one window open, then it is a server side issue I suspect.
                    Which folder have you installed the application in on the server?

                    Edit
                    The OK button in Robins example doesn't have the OnChange set to save the record.
                    Yep, same record lock out happens if you change OK tick box with the form open twice.
                    Add that in and you might be on your way!
                    Last edited by Ted Giles; 03-30-2018, 10:47 AM.
                    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


                      #25
                      Re: Data Entry Form error

                      I've talked to the user and they seem certain that don't open the form multiple times, it's not exactly just a Data Entry Form like you would typically think of, she has to go back to previous records and add additional notes later and then go to a different record and enter some other information as she receives it from the post office, she keeps the form up for most of the business day. The menu does just show one window.

                      What information would you like about the folder, it's a network share with read/write, we have another alpha five job database application that doesn't have any of these issues on the same network share.

                      Comment


                        #26
                        Re: Data Entry Form error

                        Then it's a proper poser.
                        If you fix the Ok button, which I presume you have done, it won't matter then if there is more that one form, even a virtual unseen one, being open, as the change will save the record.
                        It's not a good idea to keep a form open without saving the record, so maybe you could add a timer to save the record after say, 5 minutes?

                        The question about the app location. Is it in a folder under the main drive or in the Program Files folder?
                        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


                          #27
                          Re: Data Entry Form error

                          Is would be nice to be able to see more of your application (the database aka workspace) to see how the data entry proceeds. I use a toolbox style toolbar that stays open that uses scripts to open forms. And in those scripts the user is taken to an existing form if it is open else opens the form, so there can never be two instances of the same form opened on that workstation. You can also add a search list control (embedded browse) to help the user move between other records while on this form. Lots of ideas available if you are interested.
                          Robin

                          Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                          Comment


                            #28
                            Re: Data Entry Form error

                            I thought it had been confirmed that there was no 2nd form open visibly, Robin.
                            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


                              #29
                              Re: Data Entry Form error

                              True, but how the form is opened initially should be investigated. Is it the main form that opens with the app? Is there a button available that opens the form? Is there any other form that links to this table in a set perhaps? Lots of questions...

                              In one of my own forms eg., I just discovered that if there is an open form based on a set that is linked on multiple fields in a 1:1 relationship, that locks the table and will not permit another form to open that uses the same table. Previously I thought that only happened if referential integrity was applied, but now it seems that multiple field links is the culprit. Error trapping takes detective skills...!
                              Robin

                              Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                              Comment


                                #30
                                Re: Data Entry Form error

                                Originally posted by MoGrace View Post
                                T
                                In one of my own forms eg., I just discovered that if there is an open form based on a set that is linked on multiple fields in a 1:1 relationship, that locks the table and will not permit another form to open that uses the same table. Previously I thought that only happened if referential integrity was applied, but now it seems that multiple field links is the culprit. Error trapping takes detective skills...!
                                Robin

                                Do you have a sample of that condition that can be shared?
                                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

                                Working...
                                X