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

Please Help! Create a button to save current record

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

    Please Help! Create a button to save current record

    Good Morning AlphaWorld!

    I have been having a problem with an alpha 5 web page that I am trying to finish up, and my boss is requesting that we create a button that will save the current record that has been entered, without going to any other page.

    It seems simple enough, but I have been stumped for a week on this little problem. I am very new at Alpha, but I don't think that this should be a hard task to do. If anybody could please help, I would appreciate it.

    #2
    Re: Please Help! Create a button to save current record

    page?
    why arent you using a grid?
    Set it up to be editable and it will create the button for you

    The Grid is the heart of alpha fast development philosophy. Try It
    Cheers
    Mauricio

    Comment


      #3
      Re: Please Help! Create a button to save current record

      mmaisterrena,
      I am using a grid in an a5w page... do you know how to make a grid simply save or submit the row and stay on the current record in a grid?

      Comment


        #4
        Re: Please Help! Create a button to save current record

        In a detail view -

        Un-check "Close detail View after submit"
        Insanity: doing the same thing over and over again and expecting different results.
        Albert Einstein, (attributed)
        US (German-born) physicist (1879 - 1955)

        Comment


          #5
          Re: Please Help! Create a button to save current record

          Pete-

          Thank you! This has been pestering me for about a week now, and i'd tried everything else...(sometimes the answer is so obvious that it's transparent). This should get me off the ground (i had the grid as add records only, so this option never came up)... You're a life saver!

          Comment


            #6
            Re: Please Help! Create a button to save current record

            It would be nice if they had a "Submit" button for the detail view.
            The only buttons for saving the record is the tiny floppy icon at the bottom of the grid.

            Dave

            Comment


              #7
              Re: Please Help! Create a button to save current record

              Yeah I don't like those tiny icons either. They only serve to confuse my users since some pages have the actual "Submit" button and some have the little icons.

              We need an option to remove all of those icons and simply replace them with a single "Submit" button. Sort of a "legacy" layout, if you will.
              Sergeant Richard Hartnett
              Hyattsville City Police Department
              Maryland

              Comment


                #8
                Re: Please Help! Create a button to save current record

                Originally posted by daveh56 View Post
                It would be nice if they had a "Submit" button for the detail view.
                The only buttons for saving the record is the tiny floppy icon at the bottom of the grid.
                You can. Check it out:

                http://www.ajaxvideotutorials.com/V1...eDVToolbar.swf
                Peter
                AlphaBase Solutions, LLC

                [email protected]
                https://www.alphabasesolutions.com


                Comment


                  #9
                  Re: Please Help! Create a button to save current record

                  Very nice Pete, I guess I missed that.

                  You have to admit though, for some folks, that's still a bit messy. I still say it would be nice for Alpha to just put an option in the Properties section that says "Use Grid Style Legacy Submit Button," or something like that.

                  I'll bet a lot of developers would use it.
                  Sergeant Richard Hartnett
                  Hyattsville City Police Department
                  Maryland

                  Comment


                    #10
                    Re: Please Help! Create a button to save current record

                    Originally posted by Rich Hartnett View Post
                    You have to admit though, for some folks, that's still a bit messy. I still say it would be nice for Alpha to just put an option in the Properties section that says "Use Grid Style Legacy Submit Button," or something like that.
                    Yeah, it is messy. I would prefer an object-driven interface for certain properties. But OTOH it does a lot more than "Use Grid Style Legacy Submit Button", as you could put any button there or modify the style, etc.
                    Peter
                    AlphaBase Solutions, LLC

                    [email protected]
                    https://www.alphabasesolutions.com


                    Comment


                      #11
                      Re: Please Help! Create a button to save current record

                      If anyone is interested, I figured out how to replace that "tiny icon" in the Detail View toolbar with the normal-looking "Submit" button. (See pic)

                      (Pete you put me in the right direction with that link to Selwyn's video, but my method is a heck of a lot easier than entering all that code like he's doing in the video.)

                      Here's what I did:

                      1. Open a normal grid (not detail view) and use a screen capture program to take a snapshot of the normal Submit button in the active and inactive modes and save them in the "images" folder within your project. (see pics)

                      2. Go to the "Images" section of your project, and use the "Add File" button to locate and add the two Submit Button images you just captured.

                      3. Open the Grid w/Detail View you want to modify, and navigate to the "Detail View Properties" section.

                      4. Under "Display Options," click on Customize the Toolbar Icons."

                      5. Under "Detail View Toolbar Icons," click on the button to modify the mode titled "SaveRecord." This should open a screen titled "Specify Image."

                      6. Change the radio button to the "Image in Web Project" option, and next to the image name field, click on the "select" button.

                      7. This opens up another dialog box titled "Select Image (Project Name: Default)"

                      8. Locate the correct image for the "active" Submit Button. Click "Best Fit" and click okay.

                      9. This returns you to the "Specify Image" dialog box. The new "Submit Button" image should now be visible in the Preview field. Click okay.

                      You have just changed the original "little blue save button" with the image of the normal "Submit Button." This image only shows when the record sees new data (is dirty) which is waiting to be submitted.

                      -----------------------------------------------------------------
                      ** Now follow the same routine above for the "inactive" (grayed out) Submit Button with these two differences:

                      4. Under "Detail View Toolbar Icons - Disabled," click on the button to modify the mode titled "SaveRecord." This should open a screen titled "Specify Image."

                      8. Locate the correct image for the "inactive" (greyed out) Submit Button. Click "Best Fit" and click okay.

                      Once you have completed the procedure for both buttons, the new Submit Buttons will look and work the same way as they do in the regular grid components. Keep in mind that you can use any image you want for the Submit Buttons. You can also change the other icons to more "normal looking" buttons, but if you make them all as big as the submit button, you may run out of toolbar space.

                      This procedure looks like it is very involved, but in reality, once you have your Submit Button images saved, it only takes a couple of minutes, and you can reuse the images for all your detail view grids.
                      Sergeant Richard Hartnett
                      Hyattsville City Police Department
                      Maryland

                      Comment


                        #12
                        Re: Please Help! Create a button to save current record

                        I'd like to go to one place and change ALL of the icons in the entire project to a different set of images.

                        I know it's possible to slog through each grid's detail design section and modify one button setting at a time for that particular detail grid, as glimpsed (but not done) in the above video, but is there a way to say "Use THIS 'Save' button EVERYWHERE in this project" from a single location? Is it really required to go through every grid just to make the same changes to each one?

                        If the buttons/icons were actual image files I'd just replace the image files, but it seems like Alpha5's icons are stored as blobs, which makes it impossible to do that simple task.

                        Thanks.

                        Comment


                          #13
                          Re: Please Help! Create a button to save current record

                          Originally posted by Rich Hartnett View Post
                          If anyone is interested, I figured out how to replace that "tiny icon" in the Detail View toolbar with the normal-looking "Submit" button. (See pic)

                          (Pete you put me in the right direction with that link to Selwyn's video, but my method is a heck of a lot easier than entering all that code like he's doing in the video.)

                          Here's what I did:

                          1. Open a normal grid (not detail view) and use a screen capture program to take a snapshot of the normal Submit button in the active and inactive modes and save them in the "images" folder within your project. (see pics)

                          2. Go to the "Images" section of your project, and use the "Add File" button to locate and add the two Submit Button images you just captured.

                          3. Open the Grid w/Detail View you want to modify, and navigate to the "Detail View Properties" section.

                          4. Under "Display Options," click on Customize the Toolbar Icons."

                          5. Under "Detail View Toolbar Icons," click on the button to modify the mode titled "SaveRecord." This should open a screen titled "Specify Image."

                          6. Change the radio button to the "Image in Web Project" option, and next to the image name field, click on the "select" button.

                          7. This opens up another dialog box titled "Select Image (Project Name: Default)"

                          8. Locate the correct image for the "active" Submit Button. Click "Best Fit" and click okay.

                          9. This returns you to the "Specify Image" dialog box. The new "Submit Button" image should now be visible in the Preview field. Click okay.

                          You have just changed the original "little blue save button" with the image of the normal "Submit Button." This image only shows when the record sees new data (is dirty) which is waiting to be submitted.

                          -----------------------------------------------------------------
                          ** Now follow the same routine above for the "inactive" (grayed out) Submit Button with these two differences:

                          4. Under "Detail View Toolbar Icons - Disabled," click on the button to modify the mode titled "SaveRecord." This should open a screen titled "Specify Image."

                          8. Locate the correct image for the "inactive" (greyed out) Submit Button. Click "Best Fit" and click okay.

                          Once you have completed the procedure for both buttons, the new Submit Buttons will look and work the same way as they do in the regular grid components. Keep in mind that you can use any image you want for the Submit Buttons. You can also change the other icons to more "normal looking" buttons, but if you make them all as big as the submit button, you may run out of toolbar space.

                          This procedure looks like it is very involved, but in reality, once you have your Submit Button images saved, it only takes a couple of minutes, and you can reuse the images for all your detail view grids.

                          How do we change the typical NAVIGATION buttons like next page, next record etc to a BIG/BIGGER size.... i want to preserve the object and codes, just want it bigger, so i can use it properly on my touch screen.

                          Comment

                          Working...
                          X