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

Embedded Browse Issue

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

    Embedded Browse Issue

    I have an application that I created in 2007 starting in v7 and finished in v8. I have an embedded Browse that has several columns, with the one in question being ProductID (object name). I have, in the On_Change event for the column a very simple expression:
    Code:
    function ProductID_OnChange as v()
         var->InvoiceIDVal = ProductID.value
    end function
    This no longer works in Alpha Anywhere, or 5v11 for me. I don't know if something has changed in respect to this event, or if anyone else has experienced issues.

    The variable is a global variable and is declared in the autoexec, and as I said before, it has worked for 6 years. I'm sure I am missing something obvious since I haven't tried anything past version 8 until now.

    Thanks in advance

    #2
    Re: Embedded Browse Issue

    suggest you DIM the variable again

    Code:
    function ProductID_OnChange as v()
         [COLOR="#FF0000"]dim global InvoiceIDVal as  < your var data type >[/COLOR]
         var->InvoiceIDVal = ProductID.value
    end function

    Comment


      #3
      Re: Embedded Browse Issue

      No dice. I have tried taking the variable out and putting a message box in just to see if the event is firing, and the message box never fired. I probably should have mentioned that in my original post.

      Comment


        #4
        Re: Embedded Browse Issue

        What build of Alpha Five are you using? It's working ok here with build 3678_4158.

        Have you changed the object name of your column? your function must reference the object name of the column.

        Check this screencast.

        Oops. I see now that I lost track of which forum this thread is in! You're probably using AlphaAnywhere right... i.e. A5v12.

        I don't have that version running here, sorry.

        -- tom
        Last edited by Tom Cone Jr; 08-09-2013, 04:07 PM.

        Comment


          #5
          Re: Embedded Browse Issue

          Hi James,

          Do you have a need to upgrade to AA or v11? If not, stay with what works. If so, unless you need the mobile/Web features of AA for the app and you need or really want to upgrade, go to V11 and stay away from AA. V11 is very stable and AA will not give you anymore desktop features than v11. They say the new reports can be used on the desktop but I've not found any documentation on the new reports on the desktop. The moral of the story is; Don't upgrade unless you need to or unless you just want to and have the time to redo the app to meet the needs of the version you're going to. Others may disagree but that's my philosophy based on my experience with A5.
          TYVM :) kenn

          Knowing what you can achieve will not become reality until you imagine and explore.

          Comment


            #6
            Re: Embedded Browse Issue

            V12 is exactly the same as V11. Nothing new for desk top apps. AA is a waste of time for DT development unless you are just starting out with DT development.

            Comment


              #7
              Re: Embedded Browse Issue

              Unfortunately I have a significant amount of time developing this application, and I would like to take advantage of the mobile/Web features in the near future. The existing application that I made in '07 is running ok, but I was hoping to keep it current. If v11 didn't have the same issue as v12 I would just stay with v11 I guess, but it isn't working for me either.

              Comment


                #8
                Re: Embedded Browse Issue

                James,

                I have an app built in V10 that makes extensive use of the Events event in an embedded browse. I inserted a Msgbox box in one routine to test your issue. It worked as expected in both V11 and V12. Not sure what your issue might be.

                Code.png V11.png V12.png

                V11 Build 3381-4096

                V12 Build 1507-4150

                Rod

                Comment


                  #9
                  Re: Embedded Browse Issue

                  Just an update, I was pulled onto another project (my first AA Web app), and I am finally back to this problem on the desktop app. The event will fire if I click in the field with the mouse, but does not fire using the enter or tab buttons to navigate through the browse. Now, the confusing part to me is that it works perfectly fine after you get past the first record and move onto entering the next record, the event fires using the enter button for navigation. I have not reverted my AA build to match the one you are using, but my v11 build is the same as yours and it is doing the same thing.

                  Comment


                    #10
                    Re: Embedded Browse Issue

                    Make a sample app in V12 that demonstrates the issue and send a bug report - they will respond
                    Cole Custom Programming - Terrell, Texas
                    972 524 8714
                    [email protected]

                    ____________________
                    "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                    Comment


                      #11
                      Re: Embedded Browse Issue

                      James, there is an issue with the Browse in V11 and probably V12.
                      Try it with the latest download which is still not authorised for production use.
                      Don't forget that you may need to roll back to your current build.
                      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


                        #12
                        Re: Embedded Browse Issue

                        OK, another small update. I tried reproducing the error in a dummy app and it worked fine of course. The field I have the event tied to also has a table lookup defined in the field rules. If I take that lookup out of the picture, the event fires correctly and everything functions as it should. I am going to try the dummy app with a table lookup and see if I can reproduce the issue there. Thank you all for the advice so far.

                        I did try the newest builds Ted, but no go there as well.

                        Comment


                          #13
                          Re: Embedded Browse Issue

                          I think I have it narrowed down enough to develop a bug report if it is indeed a bug, and not intended. The lookup is partially the problem. I got lucky when I added the lookup for the test app and I forgot to check the "Display as drop-down list box" checkbox. Everything worked like a charm, but of course my lookup was visually not what I wanted. I go back and check the box, it stops working. So, I go back to the actual application, uncheck the box, and everything worked exactly as I wanted it to. I have to display the lookup in a way that I am not really happy with, but for now it works, and I know that I am not completely crazy. I think it is worth noting again that this exact application works perfectly fine in 5v8, but opening it in 5v11 produces the error. The application in 5v12 is written exactly the same, but also produces the error.

                          Comment


                            #14
                            Re: Embedded Browse Issue

                            I hope you have more luck with the bug report than I have had trying to find out when the last V11 patch is going to be authorised.
                            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


                              #15
                              Re: Embedded Browse Issue

                              Ted you keep asking the question about the last patch for v11. I would suggest you have the answer, you just have not been listening. Now, if you are very - very quiet maybe you hear will hear the answer this time. :)
                              Regards,

                              John W.
                              www.CustomReportWriters.net

                              Comment

                              Working...
                              X