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

Field Rules lockup

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

    Field Rules lockup

    I'm using v10.5, Build 3432-3608, MS C Compiler v1200.

    Each time I try to add a new item during data entry, Alpha Five locks up. The attached database shows how the field rule does not work. This is a very simple database I put together yesterday afternoon, nothing complex, just an issue that seems to be with field rules. Maybe I did something wrong, but I don't see what.

    How to replicate bug:
    First, make sure to close whatever else you're working on in case this locks up your system. On mine (Vista Home Premium 64-bit), it locks up and I have to shut down the application with the Task Manager.

    Run the Main Menu, select Add Stuff to add items. Enter whatever information you want, but then go to the drop-down menu of 'First Attribute' and select 'Add new entry to list' and the system freezes every time.

    More info about the bug:
    Look at the Field Rules for the 'Att1name' field for the 'things' file. In the Lookup tab, the option 'Form layout to edit records' points to my simple form, 'Enter Type'. If I change this to 'Default form' then Alpha Five does not lock up.

    Has anyone else experienced lockups like this? I plan to report this as a bug if somebody can confirm the same lockup on their system.

    Thanks.
    There are three kinds of people in the world: those who can count, and those who can't.

    #2
    Re: Field Rules lockup

    EJR

    Must be something with your machine, I just ran your application and had no problems adding an item to the list.

    I also just downloaded the current version of Alpha5 Build 3432_3608


    Mark Moss
    :)
    Last edited by markmoss; 10-09-2010, 07:29 PM. Reason: Needed to change Notification Type

    Comment


      #3
      Re: Field Rules lockup

      Mark, thanks for trying that out. I currently have only one computer setup to run this; I guess I'll set up another with XP or 32-bit Vista to see if there's a difference. And I'll keep trying other tweaks to see if I can get it to work, or if I can find another clue as to why this doesn't work on my computer.

      Edit: I just tried this on a second computer, a 32-bit Vista Home Premium system, same error - it locks up the same as my other 64-bit Vista computer. So I wonder if this is a Vista problem. Mark, what OS did you use? And did you to try this more than once?

      To anyone else who is willing to try this out: This is not a big thing for me, as I spent less than an hour setting this up and can use a different method. It's just that I think I've found a bug and wanted some confirmation that others see the same thing. It apparently works on Mark's computer, but not on the two where I have Alpha Five installed. And I want to help make A5 rock solid.

      And just so we're on the same page, the error does not occur when adding an 'Item', but only when selecting an 'Attribute Name' that doesn't yet exist in the list (the field rule allows adding records to the types.dbf file, and that's when the error occurs). On both of my computers, the error occurs when I run the 'Main Menu' form, click on either button to add a new item, and then move the cursor to the 'First Attribute' row in the 'Attribute Name' column. I then click on the drop down menu for that field that provides the list of attributes, starting with 'Account No.' and then 'Brand', 'Combination', etc. I then click on the underlined entry 'Add new entry to list' at the very top, and that's when Alpha Five locks up. I didn't program any specific logic for this, I only edited the field rules. And, this DOES NOT OCCUR if I use the default form for the 'types.dbf' form, which has only one field.

      Thanks again.
      Last edited by EJR; 10-10-2010, 01:12 AM. Reason: Tested on another computer, same apparent bug
      There are three kinds of people in the world: those who can count, and those who can't.

      Comment


        #4
        Re: Field Rules lockup

        Eric

        I just tried it again on my Windows XP Service Pack 3 computer and it again worked fine.

        I followed your directions exactly.

        You might try to set up a Virtual PC under Windows Vista and load Windows XP into it.

        Check it out at

        http://www.microsoft.com/windows/vir...c/default.aspx


        Mark Moss
        Last edited by markmoss; 10-10-2010, 02:25 AM. Reason: Additional info

        Comment


          #5
          Re: Field Rules lockup

          Mark, thanks again. I'll install A5 on my XP-sp3 machine and see how that works.

          And I'm hoping somebody else can try this, preferably on a Vista machine.

          Thanks.
          There are three kinds of people in the world: those who can count, and those who can't.

          Comment


            #6
            Re: Field Rules lockup

            New Information:
            On my Vista computers (64-bit Vista Home Premium, SP2) when I use the field rule to use a form I created to add an entry to a lookup list, the computer appears to lock up, but I've found that the form is simply invisible or unavailable. Pressing Alt-F4 brings control back, but there's no way to see the form. I can actually enter a new item (I can't see the input form or anything I type), and when I press Alt-F4, then A5 asks me to confirm that I want to save the change in progress, and all is well. I just can't see the form.

            I created a new database with a new field rule, same type, same problem. This is a bug that I'll report.
            Last edited by EJR; 10-11-2010, 04:49 PM. Reason: Typo
            There are three kinds of people in the world: those who can count, and those who can't.

            Comment


              #7
              Re: Field Rules lockup

              Originally posted by EJR View Post
              .... when I use the field rule to use a form I created to add an entry to a lookup list, the computer appears to lock up, .....
              Hi Eric,
              Please take a look at http://msgboard.alphasoftware.com/al...ad.php?t=89288

              Although it is different because of the form that disappears, do you recognize this as an similarity to this thread?

              Ton
              Most things are simple but unfortunately only after the first time

              Comment


                #8
                Re: Field Rules lockup

                Originally posted by EJR View Post
                This is a bug that I'll report.
                While this may or may not be a 'bug', it can be fixed by eliminating the registry entries for Alpha and then restarting Alpha.

                See this post.
                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


                  #9
                  Re: Field Rules lockup

                  Ton, that seems to be a bit different. In my situation (I have video showing what it going on here: http://www.sendspace.com/file/qk7qz9 -careful, 'cuz it's a 79mb avi!), I've realized the form actually exists but is hidden. On the video you can see the 'a5_lookup_window' tab at the bottom of the screen next to the Control Panel tab that appears when I follow the steps, but the form is apparently invisible. But I can actually type (invisibly) a new item, and then if I press Alt-F4 I'm asked to confirm my change. If I say 'yes', what I typed has been entered and things work from there.

                  Al, thanks for the tip. I sent the above video to Selwyn who's looking into this. (And I sold millions of copies of software decades ago, and so I know exactly how this "I swear it does this crazy stuff on my machine even though it is clean on yours" thing is so hard to track down.) I don't want to clean the registry just yet, in the event it might help track down this issue.

                  But I will eventually do as you suggest, great idea. I'm still in "learning mode" on some development stuff.

                  And thanks again to everyone for being willing to help - this is a great forum!!
                  Last edited by EJR; 10-12-2010, 02:47 PM. Reason: typos
                  There are three kinds of people in the world: those who can count, and those who can't.

                  Comment


                    #10
                    Re: Field Rules lockup

                    Al, I exported the register entries first, then cleared them all for A5 v 10, restarted A5, re-entered my license number, and the problem still occurs. I cycled through this twice, no change.

                    I decided to export the entries for v8 and v9 and then delete those, which I did. Still no difference after relicensing A5. I wonder if there are other files, maybe I should try a clean install (I don't relish the though of doing that!).

                    Since it makes no difference on my system, I'll reimport the registry entries so I have my system preferences et al back where they were. I'll play with Alpha Sports to see if the bug raises its head there.
                    Last edited by EJR; 10-12-2010, 03:22 PM. Reason: typo
                    There are three kinds of people in the world: those who can count, and those who can't.

                    Comment


                      #11
                      Re: Field Rules lockup

                      Are you sure the registry entries went away? Doesn't sound like they did...

                      Also I'm not sure why you have 2 different forms for adding types. You can call the same form from 2 different lookup fieldrules....

                      Does this ever lock up on the second attribute field?

                      Cal will chime in soon about naming objects... ;)

                      Start with a letter, letters - numbers - underscores only. I also use that rule in directory names that hold the Alpha db - all the way down from the root folder of the drive it's on..

                      and what build are you on?
                      Last edited by Al Buchholz; 10-12-2010, 03:44 PM.
                      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


                        #12
                        Re: Field Rules lockup

                        Al, this is simply a test program where I was trying out the lookup feature, so once I ran into the roadblock I tried various other solutions. I found none that would work other than using the default form, yet I wanted to have a better-looking form. I've given up trying other forms or other solutions. I'm using v10.5, Build 3432-3608, MS C Compiler v1200.

                        As to deleting the registry entries, yes they were fully deleted. A5 asked for the license again, and it knew nothing about the preferences or history. And when I re-ran A5 and inspected the entries, the total entries was a small fraction of what they were before I deleted them. I figured when I had some more time I'd redo it.

                        In fact, I just tried it again, deleting the entire Alpha Software tree, plus deleting the Alpha Five printer entries. I closed regedit and then fired it up again, there was no Alpha Software tree. Then I ran A5, it requested my license which I entered, then I opened the database and the problem is still there.
                        Last edited by EJR; 10-12-2010, 09:16 PM. Reason: Added new info
                        There are three kinds of people in the world: those who can count, and those who can't.

                        Comment


                          #13
                          Re: Field Rules lockup

                          Selwyn just emailed me that this bug has now been fixed and the fix will be in the next update.

                          You know, this is just awesome how the AlphaSoftware team will jump on these things to make and keep Alpha Five clean and stable, even crazy little bugs like this one that nobody else's computer would duplicate. I'll sleep much better tonight.

                          And this forum is awesome, too!
                          There are three kinds of people in the world: those who can count, and those who can't.

                          Comment

                          Working...
                          X