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

Execute Append operation?

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

  • Execute Append operation?

    Newbie here :)

    >I have a simple append operation that need to execute by pushing/clicking a button.
    >can I do it in ux? how? (I've already created a button)

    pls help
    "Knowledge without application is useless."

  • #2
    Your question is too vague. Please be very specific. Show some screenshots, or, better still make and post a short video.

    What are you appending? Some data on this UX? How did this data load? From a list? Is the UX data bound? ...that's just a small sample of questions that come to mind.
    Mike Brown - Contact Me
    Programmatic Technologies, LLC
    Programmatic-Technologies.com
    Independent Developer & Consultant

    Comment


    • #3
      Assuming you have the append operation created, use action scripting to run the operation when the button is pushed/pressed.
      Gregg
      https://paiza.io is a great site to test and share sql code

      Comment


      • #4
        Originally posted by madtowng View Post
        Assuming you have the append operation created, use action scripting to run the operation when the button is pushed/pressed.
        You seem to know what he was asking so now I'm curious...what is this "append operation"?
        Mike Brown - Contact Me
        Programmatic Technologies, LLC
        Programmatic-Technologies.com
        Independent Developer & Consultant

        Comment


        • #5
          I hope I get all the new terms right. Using the desktop workspace, and typically dbf tables, there is a tab on the control panel for Operations.
          This gives you the option to save several operations, including but not limited to import,export,append,query,post, and update.
          I realize this is the Mobile & Browsers forum, but this would not be the first time something might be used outside the intent of Alpha or
          worst case, the post was accidently posted to the wrong forum. With that said, it just dawned on me that action scripting might not be available.
          In the case, using XBasic, the solution would be to use the script_play(opereration as c) command.
          Gregg
          https://paiza.io is a great site to test and share sql code

          Comment


          • #6
            oooohhhh, so this is a desktop item. I've never developed a desktop app so that's probably why I'm clueless ...lol.

            Thanks!
            Mike Brown - Contact Me
            Programmatic Technologies, LLC
            Programmatic-Technologies.com
            Independent Developer & Consultant

            Comment


            • #7
              thank you very much for your replies

              I'm sorry if you're confused, I just want to know if I can and how to run a desktop operation on the side of the mobile/web app like append using UX

              because I have a plan to move my desktop applications to the web/mobile app so I just thought of this question
              "Knowledge without application is useless."

              Comment


              • #8
                give the xbasic script_play() command a try.
                Gregg
                https://paiza.io is a great site to test and share sql code

                Comment


                • #9
                  thank you very much madtowng for the good advise
                  "Knowledge without application is useless."

                  Comment


                  • #10
                    I just noticed, when it was opened in the CHROME browser, my A5 was not responding and I had to close it

                    Error executing Ajax callback. Error executing Ajax callback function 'serverside_########## command: script_play("a script") Not an open table

                    but in the working preview, it works fine

                    pls help to solve this
                    (the database i use is sql server)
                    You do not have permission to view this gallery.
                    This gallery has 1 photos.
                    Last edited by nehru; 07-19-2021, 01:10 AM.
                    "Knowledge without application is useless."

                    Comment


                    • #11
                      ok. Now that we took the long way to get here, please share the append operation you have.
                      It will also be helpful if you describe what you're actually trying to do.
                      Gregg
                      https://paiza.io is a great site to test and share sql code

                      Comment


                      • #12
                        Most of us use SQL tables instead of DBF on the web, but I remember using operations frequently when I used DBF tables for my web app. The steps involved something like:

                        If you go to the Control Panel, go to the Operations tab, click on your operation and then click Design.

                        Now look along the top and you will see Xb which stands for Xbasic. Click on that Xb button to display the Xbasic code of the operation. Copy that to an a5w page and you will almost be there. Run this code on your a5w page and you will get some error messages that will help you revise the code to get it to work.
                        Gary S. Traub, Ph.D.

                        Comment


                        • #13
                          Sir drgarytraub

                          thank you very much for your advise, but there is an error that says that cannot find the file or table but checking there is the table in the control panel and that I can open it, I followed all your instructions,

                          I really want to be able to execute the operations I do on the desktop side on the web/mobile app side to speed up my transfer to the web/mobile environment

                          In case I no longer use desktop operations, what is the equivalent of a web/mobile app that is the same as the append/update operations (or any)?

                          I hope you can help me too
                          Attached Files
                          "Knowledge without application is useless."

                          Comment


                          • #14
                            SIr madtowng ,

                            Thanks again for the reply and your help,
                            my operation is standard from the desktop side, almost all the operations I do here still have the same "not open table" error

                            I also tried to create a simple update operation but the error is still the same

                            script_play that you advise in WORKING PREVIEW worked, but when opening in GOOGLE CHROME there is an error NOT OPEN TABLE

                            "Knowledge without application is useless."

                            Comment


                            • #15
                              I have a feeling the append operation will not work for what you're trying to do (This became apparent when you explained about the error).
                              I can help you with your goals, but without having seen the append operation, odds are high it will not work for what you want to do.
                              Pictures of the UX you're working on and how you want it to work will help get you on track.
                              A screen sharing session using teamviewer or something similar would be even better.
                              Gregg
                              https://paiza.io is a great site to test and share sql code

                              Comment

                              Working...
                              X