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

disappearing forms

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

    disappearing forms

    I just tried to open a form that I spent a lot of time making and got the message "cannot open form. opening default form instead". The form I built was gone. Where did it go? Can I get it back?

    Allen Krause

    #2
    RE: disappearing forms

    Allen,

    A number of options come to mind:

    1) compact the database and see if that makes the form available.

    2) check and see if, for some reason, you deleted the table on which the form is based. If you did, you are SOL (translation provided, if necessary).

    3) if 1 and 2 fail, you might have to just bite the bullet and rebuild the form. If you do, periodically save you work as you go to reduce the amount of work that could be lost.

    Good luck,

    Dave
    Dave Jampole
    www.customalpha.com

    Women and cats will do whatever they want. The sooner men and dogs realize that, the happier they will be.

    Comment


      #3
      RE: disappearing forms

      Thanks Dave,

      I compacted the database and the form didn't come back. I had not deleted the underlying table so all of my data is still there. I guess I'll just rebuild the form. I still have the question: "Why did it disappear?"

      Allen Krause

      Comment


        #4
        RE: disappearing forms

        Allen,

        The form layout(s) for a table or set are stored in their dictionaries. Did you move the tables to a new folder and leave the dictionaries behind? This can be non-obvious sometimes, since Alpha will (very helpfully) create new dictionaries automatically ... but, of course, they won't contain your saved layouts.

        -- tom

        Comment


          #5
          RE: disappearing forms

          Thanks Tom:

          I didn't do anything (that I know of). Suddenly that form just wasn't there anymore.

          Allen Krause

          Comment


            #6
            RE: disappearing forms

            when you first build the new form, save it immediately (before doing lots of work) and make sure you can open it. if alpha doesn't like the name of the form, it will sometimes give you that message. if that is the case, select a different name for the form

            Comment


              #7
              RE: disappearing forms

              Thanks John,

              The form was not so complex that I can't rebuild it with relative ease. What is so baffling about this is that I have used the form for weeks without any problem. Suddenly it was gone without warning.

              Allen Krause

              Comment


                #8
                RE: disappearing forms

                Allen:
                I am unclear about couple of things in your post:
                ""got the message "cannot open form. opening default form instead"""
                1-How did you get that message in the first place ??? Where did you try to open that form from when you got this message ?? Did you click the form icon in the Control Panel? Did you try to open it from a custom menu or some script ?? Can you still see the form name in the control panel but unable to open it?

                2-Is that form based on a set or a table??
                Thanks
                Gabe

                Comment


                  #9
                  RE: disappearing forms

                  Thanks Gabe:

                  I tried to open the form from another form. I set up a button so that I could quickly go the the form (which now does not exist). The name of the form does not exist on the control panel. The form was based on a table.

                  I lost no data, only the convenience of using the form that I had built to enter data.

                  Allen Krause

                  Comment


                    #10
                    RE: disappearing forms

                    Allen,

                    I've experienced this twice.

                    1) I forgot to save the form so it never appeared in the control panel; and

                    2) I mistakenly opened a different copy of the same database, thinking I was opening the one where the form layout had been saved.

                    -- tom

                    Comment


                      #11
                      RE: disappearing forms

                      Allen:
                      This is pretty odd !! Forms do not just vanish.

                      The error message is not unusual. It is quite possible that your form was either corrupted or had fields or calculations with nonexistent references but alpha does not take it upon itself to delete forms that are not to it's liking !!

                      If it's any consolation, chances are, the form had big enough problem that it was bound to happen sooner or later.

                      do not forget to back up!!

                      Gabe

                      Comment


                        #12
                        RE: disappearing forms

                        Allen:
                        This continues to befuddle me!

                        Can you please do the following:
                        In the interactive window, type:
                        ? a5.Form_Enum()
                        Do you see the form listed??

                        Thanks
                        Gabe

                        Comment


                          #13
                          RE: disappearing forms

                          Gabe:

                          I did as you suggested and the form is not listed there. Keep in mind that I am not well versed in the ins and outs of computer science. That's why I bought Alpha 5. You don't need a lot of computer programming knowledge to get it to work. After I type in the code you sent do I need to take some other action?

                          All this having been said, although I am not a computer expert I have been using them for a long time. I still have my Apple II Plus that I bought over 20 years ago. Throughout the years I have seen all kinds of things disappear. I know that it's always something that makes it happen but that something may be buried in a computer code or a defective chip or a power spike or whatever. However to the user, like me, it looks like something disappeared for no good reason.

                          Stay in touch if you want me to try something else.

                          Thanks for your persistence.

                          Allen Krause

                          Comment


                            #14
                            RE: disappearing forms

                            Allen:
                            Let's try one more thing: In any form based on the same table, ceate a button and on the OnPush event of the button, put the following code:

                            dim names[40] as C
                            dim count as n
                            tbl = dictionary.open()
                            range.flags = range_index .or. range_filter
                            range.index_pointer = tbl.index_record_get()
                            range.filter = "type = 'FRMI'"
                            tbl.range_add()
                            tbl.fetch_first()
                            while .not. tbl.fetch_EOF()
                            count = count + 1
                            names[count] = tbl.name
                            tbl.fetch_next()
                            end while
                            tbl.close()
                            form_name = ui_get_list_array("Choose a Form",1,"names")
                            if form_name = "" then
                            end
                            end if

                            Now, go to the view mode and press the buton, you should see a windowtelling you all the forms based on this table, see if the missing form is listed there.

                            Thanks

                            Gabe

                            Comment


                              #15
                              RE: disappearing forms

                              Gabe:

                              Nope. It isn't there anymore.

                              It is probably more important for your purposes to find out what happened. Fortunately for me I lost no data and the form was a relatively simple one.

                              Thanks again for your help.

                              Allen

                              Comment

                              Working...
                              X