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

    Data Entry Form error

    I'm getting errors from a user that's keeping an Alpha Five data entry form open for most of a business day, they are the only user that is using this form and database, one of the errors is "Record locked by another session or user" and "Script:UI_MODELESS_DLG_BOX:DatabaseName@Locate line:228 t.fetch_goto(currrecno) An unexpected network error occured DatabaseName.db. I've attached a picture of the UI_MODELESS error.

    I have attempted to research the errors and I did find threads about corrupt memo fields and I've duplicated the database, exported and imported the records into a new database with no change. Regarding the record locked issue is there a problem with a PC locking after 15 minutes being idle per a group policy?

    Thanks for any help.
    Attached Files

    #2
    Re: Data Entry Form error

    Hello,

    one of the errors is "Record locked by another session or user"
    -- caused by did not closed the table with " <tbl>.close() " some where on your code.

    the second error,
    line:228 t.fetch_goto(currrecno)
    -- related with 1st error .

    Not enough Info - If you attache the your codes you can get better solution.

    Comment


      #3
      Re: Data Entry Form error

      Thanks, some basic information about the table and form, I'm not running any additional code or events in the form. I'm only using Field Rules with the table, the only rules I'm using are a Calculated field Due Date which is subtracting 50 business days from a different date in the form code "ADD_BUS_DAYS(TURNOVERDATE,-50)", a State field that is upper casing the two letters, a ZipCode, FAX & Phone that are applying a mask to the field.

      What would you like me to export or package and attach to this post?

      Comment


        #4
        Re: Data Entry Form error

        Hi Lonnie,

        When you getting the Error message?

        Try run again your application after remove the Calculated field rule.

        Comment


          #5
          Re: Data Entry Form error

          The user is getting the errors randomly throughout the day, they are keeping a log of the errors for me, yesterday the UI_MODELESS error happened at 9:53AM, 11:37 AM & 4:41, and then the Record locked error happened at 3:46PM. This morning she did get an Error Locking error which is different than the first two errors.

          I've removed all of the calculated fields and I will post again if she is still receiving one of these errors.

          Comment


            #6
            Re: Data Entry Form error

            The user just said they received the Record locked by another user error after I've removed all of the calculated fields, any additional suggestions?

            Comment


              #7
              Re: Data Entry Form error

              Lonnie,

              Can Zip your application with Dummy data?

              Comment


                #8
                Re: Data Entry Form error

                Do you by any chance have a drop down combo box on the form that is attached to a field? If so try creating a variable for the drop down. When attached to a table field it is likely leaving the form in edit mode when it i used.
                Robin

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

                Comment


                  #9
                  Re: Data Entry Form error

                  are you using a shadowed app or no shadow and directly to a server of some type?
                  Dave Mason
                  [email protected]
                  Skype is dave.mason46

                  Comment


                    #10
                    Re: Data Entry Form error

                    I've attached the ZIP file of my database and form.

                    I don't have a drop down combo box, but I do have radio button group and check boxes.

                    No shadow and directly to a file storage server, Windows Server 2012 R2.
                    Attached Files

                    Comment


                      #11
                      Re: Data Entry Form error

                      Hi Lonnie,
                      When you say database do you mean table? Because this table you uploaded looks like it should probably be broken up into 2 or more tables. Also all your character fields are 255 characters in size when 40 or less would probably suffice. And your field naming convention is more than 10 characters in which the first 9 (or is it 10?) must be unique. There is a place in field rules where you can give the field a more user friendly name as well as a description, while still keeping the actual fieldname to 10 or less.

                      Since you are using a radio control on the form and have it attached to a field, unless you add an event that saves the record when it is changed, you are leaving the table in edit mode (same thing for the checkboxes). Other than that I think you may need to normalize this table and perhaps separate the memo fields into separate table(s) that you can link to the record via a set.

                      And Welcome to the board!
                      Robin

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

                      Comment


                        #12
                        Re: Data Entry Form error

                        I copied your table and renamed your fields and made a new form - unzip to your directory and add the table.
                        Take a look at the field rules where I gave the fields a descriptive name. Also I resized & grouped the fields in the table
                        according to how you were using them in your form - see the table structure. In the form, all the objects have unique
                        names, which is helpful when you are searching for a field to edit in the object or code explorer. There are also change events
                        on the radio & checkboxes that save the record. I gave the checkbox fields a name that starts with 'X' so I could keep the
                        field names to 10 chars and still be able to locate them alphabetically. Oh, and on the form I gave all the date fields a field type of calendar, and added a field rule mask for the phone number fields. I think that's all I did...


                        AddrVer.zip
                        Last edited by MoGrace; 03-27-2018, 04:39 PM.
                        Robin

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

                        Comment


                          #13
                          Re: Data Entry Form error

                          Hi Robin,

                          I did mean table, thank you for all of your help! I downloaded the table and form that you put together and I will test it with the user tomorrow!

                          Comment


                            #14
                            Re: Data Entry Form error

                            I was able to import that form into a report but had to tweak the size a bit to get it to fit inside the margins. If the form is resized a bit first, this will make the print out easier to achieve. My screen shot is cutting off the bottom of the form...

                            new_ws.jpg
                            Robin

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

                            Comment


                              #15
                              Re: Data Entry Form error

                              I've been importing the live data into your table, the A_Note field in your table is 250 characters MAX, is it possible to make that a Rich Text Memo field like Note_Det? I wasn't sure if there were issues with having multiple memo fields.

                              How do you import a form into a report for printing like you've done?

                              Comment

                              Working...
                              X