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

Anomoly

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

    Anomoly

    For interest only

    I had a few scripts that opened xdialogs in a sequence, The firs open based on a set. If the item was not listed in the Listview, you open the second xdialog to select from an advanced list. Everything worked perfectly accept when a user decided to cancle the opeation when they had gone as far as teh second step. If they chose cancel the next time the list view had noting in it. This happened everytime. the listview would not fill as desired no matter what I did. I debuged and debugged but the reason it would not fill elleuded me for a long time. As I was in a very isolated place with no communications, I could not put to teh forum for an answer.

    Finally it was as in issue between the two listview. As the second one had a field in a table called qty and the fisrt had a variable called qty, it affected the lists. even though I had not shared the variables in any way, it was not until I changed the name to qty1 that it worked as desired.

    I found this intriguing as no varaiables were eve share or global and all tables were effectivieldy closed at teh correct statges. It only happened when the cancel button or "X" was clicked on the second view. No otehr tiem
    -----------------------------------------------
    Regards
    Mark Pearson
    [email protected]
    Youtube channel
    Website

    #2
    Re: Anomoly

    what build is this associated with?
    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


      #3
      Re: Anomoly

      I am using the up to date version. I started it before the update, but the had the problem on both versions.

      Just re read my post, sorry about the typos, but I guess you still read it OK. Was on the run again. (A Sunday too)
      -----------------------------------------------
      Regards
      Mark Pearson
      [email protected]
      Youtube channel
      Website

      Comment


        #4
        Re: Anomoly

        Originally posted by Clunes View Post
        I am using the up to date version. I started it before the update, but the had the problem on both versions.

        Just re read my post, sorry about the typos, but I guess you still read it OK. Was on the run again. (A Sunday too)
        I think we need to specify the build number rather than saying 'current' version......

        A slight difference in build numbers can make a big difference in the fixes available.
        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


          #5
          Re: Anomoly

          I am using the very latest build 3539. While I do not know why this happened, I think the whole problem is probably based my naming of variables as well their declaration level. I need to be more conventional with my naming.
          -----------------------------------------------
          Regards
          Mark Pearson
          [email protected]
          Youtube channel
          Website

          Comment


            #6
            Re: Anomoly

            Hi Mark,
            Not to take away from your information that you are giving to help others out--and being careful of variable naming and scope is very important.

            ....but I am a bit confused when you use the phrase "opening xdialogs" followed by
            "based on a set" and "field in a table" ---they are mutually exclusive when describing as you have your scenario. The only way an xdialog can be related to a form or a field is when a variable is used between them, nothing more.....xdialogs do not have table fields and are not based on a table/set.

            Please explain a bit more for those of us (or maybe just me!) who cannot interpret this.... :)
            Mike
            __________________________________________
            It is only when we forget all our learning that we begin to know.
            It's not what you look at that matters, it's what you see.
            Henry David Thoreau
            __________________________________________



            Comment


              #7
              Re: Anomoly

              Hi Mike I amperplexed as well.

              What I did was on a form called workorder, I clicked an add parts button. This took me to an xdialog to select parts from stock. If the part was not in stock I click another button to view the whole parts BOM and add to be ordered. If it is not in the BOM, the user can add anything they want. I have made a quick movie for you - http://www.onestopsolutions.biz/demo/ - note this is a movie of it with no problems anymore

              It all worked as I wanted it to unless the user clicked the cancel button on the last xdialog. When this was clicked it cancelled as expected and went back to the form. If I clicked the add parts button again the first dialog would not fill with any data. It baffled me for ages until I placed a value in the qty box of the last xdialog and then cancelled. For some reason it now worked. I then changed the name of this variable and suddenly I had no problems. i checked to see how I was sharing the variables, tables closed etc. All of them appeared correct to me. It still made no sense as the qty variable would still only equal 0 and should not be a problem. In my debug process, I could actually follow the steps and see that the listview was not being populated but there was no reason for it or any errors.

              Hope that helps, but I think I found a bug that will be too hard to duplilcate
              -----------------------------------------------
              Regards
              Mark Pearson
              [email protected]
              Youtube channel
              Website

              Comment


                #8
                Re: Anomoly

                Mark,
                Thanks for explaining more--now we know you started from a Form, called from the Form first one xDialog, and then called a different xDialog from the first xdialog. I also want to point out that the "field" you referred to was actually a variable (in an xdialog).

                I don't think it is a bug so much as you found a way to confuse Alpha with naming two variables the same in a context that allowed at least one of them to be "seen" when you did not want it to be.

                Just a big guess and am not certain but...maybe with xdialogs the variable space is a shared one them when one is called from the other???
                Mike
                __________________________________________
                It is only when we forget all our learning that we begin to know.
                It's not what you look at that matters, it's what you see.
                Henry David Thoreau
                __________________________________________



                Comment


                  #9
                  Re: Anomoly

                  Hi Mike,

                  ``
                  Originally posted by MikeC View Post
                  Just a big guess and am not certain but...maybe with xdialogs the variable space is a shared one them when one is called from the other???
                  XDialogs inherit the "local" variable space from the code that they were started from as well as have access to Global and Shared spaces. Also, see my tips on variable usage and dimensioning.

                  Note also that in an XDialog Listview object, it has a few places in the Listview events (not the Xdialog events) that must have some variables at least at the session (shared) level, as those Listview events are running in a different variable space and must have access and set some values from the the Xdialog variable spaces.
                  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


                    #10
                    Re: Anomoly

                    Ira,

                    What you said actually made sense to me whereas a year or two ago it probably would not have!!

                    Apparently some of your variable scoping/issue comments must have rubbed off on me as I do have a fairly decent grasp on how to prevent and diagnose such issues.... I do thank you for this--much appreciated!
                    Mike
                    __________________________________________
                    It is only when we forget all our learning that we begin to know.
                    It's not what you look at that matters, it's what you see.
                    Henry David Thoreau
                    __________________________________________



                    Comment

                    Working...
                    X