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

Array Index out of bounds

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

    Array Index out of bounds

    I have read the existing posts and have not seen a way around this error yet. I have the latest updates and builds for A5v10.5. I developed a series of tables and sets and input quite a bit of data. When I went to view the set structure for one of my sets I got the error: Array Index out of bounds. In my research, I discovered some more efficient ways of designing my database so rather than take a chance on losing my data, I built a whole new database in another folder. The new database contains no data. Iwanted to look at one of my set structures ... I was in "Tables/Sets", "Design", "Set Structure" and I got the same error I had in the original database. It reads as follows:

    Script:UI.DLG_Box:@=SetEditorDialog_376a26477fcc4473a2cf4096406b0
    103 line548
    setDepth = depth
    Array index out of bounds

    Then when I try to access the set structure again, the number array after "SetEditorDialog" changes:

    Script:UI.DLG_Box:@=SetEditorDialog_d86fd59d0b2a4e7197c3f58e23fd
    c9da line548
    setDepth = depth
    Array index out of bounds

    The number array changes with each instance but it always refers to line 548.

    Does anyone have any suggestions? Is it something that I am doing wrong or is it a bug in Alpha?

    Thanks,

    Mike

    #2
    Re: Array Index out of bounds

    Mike,

    Just a thought. Can you reinstall alpha with just version 10(not 10.5) and see if you have the same error?

    If you get no error, it is probably a bug?? If you get the same error after remaking your db, it is probably something you are doing. Lot of work I am sure.

    It really sounds like a bug to me, but I just found a ME error that also looked like a bug. It was in a variable error that took me a while to figure out.

    You may also post your database here in a zip file and people can look at it also??

    Hope I helped.

    .
    Dave Mason
    [email protected]
    Skype is dave.mason46

    Comment


      #3
      Re: Array Index out of bounds

      I had some similar set problems caused by V10 that were fixed by V10.5 RC2. To fix it, I had to edit the set and remove all the links and add them back one by one on the sets that were giving me trouble.

      Comment


        #4
        Re: Array Index out of bounds

        Thanks Dave,

        I have attached a zip file of the database - I would really appreciate finding out from somebody if its' my error or a bug.

        Thanks again

        Mike


        Originally posted by DaveM View Post
        Mike,

        Just a thought. Can you reinstall alpha with just version 10(not 10.5) and see if you have the same error?

        If you get no error, it is probably a bug?? If you get the same error after remaking your db, it is probably something you are doing. Lot of work I am sure.

        It really sounds like a bug to me, but I just found a ME error that also looked like a bug. It was in a variable error that took me a while to figure out.

        You may also post your database here in a zip file and people can look at it also??

        Hope I helped.

        .

        Comment


          #5
          Re: Array Index out of bounds

          I tried to edit the polo_field_set in V10.5 RC6 with no luck. I also tried to edit it in V9 and I kept getting a corrupt relation error message.

          Weird thing is that you can open the default browse and edit the indexes.

          I think this is probably a bug since it is very similar the the errors I was getting, but at least I could go in and repair mine where I cannot get into edit mode with yours.

          Comment


            #6
            Re: Array Index out of bounds

            I cannot edit the set - the error pops up when I attempt to do so. The only way is to delete the set and rebuild it. However at a certain point it will start producing errors again. It doesn't seem to matter which tables I am working with.

            Mike

            Originally posted by DaveM View Post
            Mike,

            Just a thought. Can you reinstall alpha with just version 10(not 10.5) and see if you have the same error?

            If you get no error, it is probably a bug?? If you get the same error after remaking your db, it is probably something you are doing. Lot of work I am sure.

            It really sounds like a bug to me, but I just found a ME error that also looked like a bug. It was in a variable error that took me a while to figure out.

            You may also post your database here in a zip file and people can look at it also??

            Hope I helped.

            .

            Comment


              #7
              Re: Array Index out of bounds

              It is not an error that there are no forms, browses or reports. This is just the bare bones database - thanks for the thoughts.

              Mike

              Comment


                #8
                Re: Array Index out of bounds

                Mike,

                I have opened all five of your sets with v10, not v10.5. I attempted in v7 thinking it might work. maybe that triggered something???

                I renamed one ot the sets to be sure I was not dumb and something opened them up.

                The error I was getting was alpha was not able to find polowhatever.set.

                I think you have a bad install or have discovered a bug???

                see the pic below

                I do suggest you shorten the names to 8 or less on files.

                Hope it helps

                .
                Dave Mason
                [email protected]
                Skype is dave.mason46

                Comment


                  #9
                  Re: Array Index out of bounds

                  Thank you very much. I really appreciate your taking the time to look at this.

                  Mike

                  Comment


                    #10
                    Re: Array Index out of bounds

                    Mike,

                    I was having some problems with v10.5. I could not pin most of it down so I deleted all of v10.5 and cleared the registry with a regleaner. Reinstalled v10 and am going on. Yes, I destroyed a set as well. It was my error, I think.

                    MS made the regclean.exe many years ago and I still use it on Vista today. I will give it to you if you want.

                    My main problems were associated with variables. That is supposed to be cleared in the final release.


                    .
                    Dave Mason
                    [email protected]
                    Skype is dave.mason46

                    Comment


                      #11
                      Re: Array Index out of bounds

                      Originally posted by Mike Parks View Post
                      I have read the existing posts and have not seen a way around this error yet. I have the latest updates and builds for A5v10.5. I developed a series of tables and sets and input quite a bit of data. When I went to view the set structure for one of my sets I got the error: Array Index out of bounds. In my research, I discovered some more efficient ways of designing my database so rather than take a chance on losing my data, I built a whole new database in another folder. The new database contains no data. Iwanted to look at one of my set structures ... I was in "Tables/Sets", "Design", "Set Structure" and I got the same error I had in the original database. It reads as follows:

                      Script:UI.DLG_Box:@=SetEditorDialog_376a26477fcc4473a2cf4096406b0
                      103 line548
                      setDepth = depth
                      Array index out of bounds

                      Then when I try to access the set structure again, the number array after "SetEditorDialog" changes:

                      Script:UI.DLG_Box:@=SetEditorDialog_d86fd59d0b2a4e7197c3f58e23fd
                      c9da line548
                      setDepth = depth
                      Array index out of bounds

                      The number array changes with each instance but it always refers to line 548.

                      Does anyone have any suggestions? Is it something that I am doing wrong or is it a bug in Alpha?

                      Thanks,

                      Mike



                      The problem is fixed. It was caused by the fact that one of the tables in your set has a space in the table name.

                      This was a bug in the new set editor introduced in the V10.5 release candidates.

                      You will have to re-create these sets.

                      There is no problem editing sets created before v10.5 with the old set editor.

                      thanks.




                      This file contains a pre-release of the updates to the aex file that will be in the next update.
                      Exit from Alpha Five and unzip this file into your A5V10 program folder.
                      You must also unzip it into the A5V10 Server folder if you are running the stand-alone App Server.
                      http://downloads.alphasoftware.com/a...te/aex_v10.zip

                      This file contains an update to the exe and dll files. Exit Alpha Five and unzip into your program folder.
                      You must also unzip it into the A5V10 Server folder if you are running the stand-alone App Server.
                      You can also unzip these files into your A5V10 Runtime folder.
                      http://downloads.alphasoftware.com/a...dllexe_v10.zip

                      Comment


                        #12
                        Re: Array Index out of bounds

                        To All,

                        Originally posted by Selwyn Rabins View Post
                        The problem is fixed. It was caused by the fact that one of the tables in your set has a space in the table name.

                        This was a bug in the new set editor introduced in the V10.5 release candidates
                        Although this is an introduced bug that was repaired by Alpha, it pays to heed the warning about not using spaces in fieldnames, set and table names and other object names that Cal, I and others have said in the past.

                        For a good starting point, see Cal's Naming Conventions.
                        Regards,

                        Ira J. Perlow
                        Computer Systems Design


                        CSDA A5 Products
                        New - Free CSDA DiagInfo - v1.39, 30 Apr 2013
                        CSDA Barcode Functions

                        CSDA Code Utility
                        CSDA Screen Capture


                        Comment

                        Working...
                        X