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

Detail View differences when adding a new record versus editing an existing record

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

    Detail View differences when adding a new record versus editing an existing record

    I have a simple non-editable grid with associated Search and Detail View forms.

    When I select the "New Record" button, the Detail View opens AND the cursor is sitting on the first field waiting for entry.

    If I select an existing record in the grid, to do an update, the Detail View opens, but the cursor is "no-where." To enter/change anything on the Detail View showing an existing record, I must manually select a field on the View and then proceed with entry, etc.

    Does anyone know a way to get the Detail View to open with for example the first field selected for entry when editing an existing record on the grid?

    Jack

    #2
    Re: Detail View differences when adding a new record versus editing an existing recor

    hello

    i am under the impression that is expected.
    since the detail view is as it says detail view of the information, if you want to edit just select a field edit and save or cancel the edit. detail view is doing double duty as displaying data and accepting editing the data. displaying is the first priority. editing comes next.
    on the other hand a new record entry is doing just that so the cursor goes to the first available field.
    imagine you want to edit the last field but the the cursor is sitting on the first one you need to tab all the way down to the last field like we used to do long time ago or click the field and edit.
    with the current way you are not distracted and can select the field you want without making any errors should you want to edit, not just see the full information.

    hope this helps.
    thanks for reading

    gandhi

    version 11 3381 - 4096
    mysql backend
    http://www.alphawebprogramming.blogspot.com
    [email protected]
    Skype:[email protected]
    1 914 924 5171

    Comment


      #3
      Re: Detail View differences when adding a new record versus editing an existing recor

      Gandhi,

      Thanks for your reply...I know it is the way it "acts," but I was hoping for a workaround.

      What I "need" is a way to make it an input form (like a new record) without the user taking any actions. I thought someone might know the code or "switch" that needs to be set to activate it on call rather than after "selecting."


      Jack

      Comment


        #4
        Re: Detail View differences when adding a new record versus editing an existing recor

        my apologies for not understanding.
        i just checked my grid
        the grid is read only with search and updatable detail view.
        in the properties of the detail view i allowed update, insert. i do not want delete so that is unchecked.
        when i click on an item in the grid part it opens up the detail view with the first field highlighted, and i can update that field or move around to any other field to update without any problem.
        is this you are looking for?
        if not i am sure someone else with more experience will help.
        thanks for reading

        gandhi

        version 11 3381 - 4096
        mysql backend
        http://www.alphawebprogramming.blogspot.com
        [email protected]
        Skype:[email protected]
        1 914 924 5171

        Comment


          #5
          Re: Detail View differences when adding a new record versus editing an existing recor

          Ganhdi,

          Yes..that's what I want, but when I "unchecked" the delete option as you discussed my Detail View does not open with the first field highlighted...it's just open.

          Once I click on any of the View fields, it's as if the View was "activated" and I can then start my changes.

          On my read-only grid, I also have the search and updatable detail view options; but the only one that will open with the first field highlighted is when I get the Detail View using the "New Record" button. I've tried all the other options, but if it's not a "New Record," the view opens with no highlights...

          I've toyed with placing the Detail View in the "Editing Properties." If I change the Row Edit Style to "OnDemand," I can then use the "afterDetailOpen" java event and {grid.Object}.editFieldDV(field) method to select a field as I want. I've run into a problem with this though because the command seem to behave more like a toggle switch...the first time I run it, it works as advertised and does exactly as I want, but the next time I open the View, it "toggles" back to being in the "un-edit" mode rather than to consistently select the edit field. If I re-open the View, it is again in the edit mode with the field selected as on the first opening...

          Jack

          Comment


            #6
            Re: Detail View differences when adding a new record versus editing an existing recor

            ok
            now i got it
            this is what you do and tell me you are satisfied.
            keeping delete or not keeping is not crucial to this.
            on the detail section look into the properties.
            display options and the first one display set it to popup window-modal.
            9 lines down check "only show on request"
            set up hyperlink to a field in the grid whatever you like then
            try working preview see if you like that
            still no good
            i will make a screencast for you.
            most likely you are displaying the detail on page itself change to what i suggested. and see
            thanks for reading

            gandhi

            version 11 3381 - 4096
            mysql backend
            http://www.alphawebprogramming.blogspot.com
            [email protected]
            Skype:[email protected]
            1 914 924 5171

            Comment


              #7
              Re: Detail View differences when adding a new record versus editing an existing recor

              Gandhi,

              My grid was set the same as you recommended except I was using a "double_click" on the row to update a row. I was/am already set to display the detail view as a popup window-modal.

              Go ahead and make a video if you wish...when you edit on your system, does it pop-up with a field already selected?

              Jack

              Comment


                #8
                Re: Detail View differences when adding a new record versus editing an existing recor

                to be fair to me
                this is the first time there is a "double_click" mentioned.
                i am not sure why you don not want the hyperlink method which i think is default and it is easy. take a at the first and second line of detail section properties.
                since you are looking at double click method i will take a look at the grid again if i find a way to do this i will post back, there is no need for a video since the question is different than in the earlier posts.

                ps: i did check, double click method does not do what you want. click hyperlink method does. it is your call to choose a method.
                Last edited by GGandhi; 05-13-2013, 06:43 PM.
                thanks for reading

                gandhi

                version 11 3381 - 4096
                mysql backend
                http://www.alphawebprogramming.blogspot.com
                [email protected]
                Skype:[email protected]
                1 914 924 5171

                Comment


                  #9
                  Re: Detail View differences when adding a new record versus editing an existing recor

                  Gandhi,

                  I do not have any "luck" using hyperlink, double-click, or click on row...all "work" the same.

                  I've not recorded before, but will make a recording to show what I'm seeing and update the post when I've got it.

                  Jack

                  Comment


                    #10
                    Re: Detail View differences when adding a new record versus editing an existing recor

                    Gandhi,

                    This is the video clip I made to show what's happening on my app using the hyperlink and the double-click methods...My primary reason to keep the "double-click" method is that so far all my grids use it...I would have to change them all to use a hyperlink, but if that's what the problem is (not true on my system) than I will do it.



                    Jack

                    Comment


                      #11
                      Re: Detail View differences when adding a new record versus editing an existing recor

                      jack
                      here is my video
                      may be i am sitting far from the mic and the voice is low
                      but the video seems ok
                      take a look

                      http://screencast.com/t/yYTVKPEGn
                      thanks for reading

                      gandhi

                      version 11 3381 - 4096
                      mysql backend
                      http://www.alphawebprogramming.blogspot.com
                      [email protected]
                      Skype:[email protected]
                      1 914 924 5171

                      Comment


                        #12
                        Re: Detail View differences when adding a new record versus editing an existing recor

                        Gandhi,

                        Very interesting...each of your modes brings up the edit/update view just like I want...I've been looking at the view, etc. to try to come up with an answer, but since it works different on each of your modes, I must have something else different in my setup???????

                        The only obvious difference I see is that I also have a Search setup on my grids...don't know if that's part of it or not?

                        I'll keep checking on the property windows to see if I can come up with a culprit...but your views all work like I want mine to.

                        Jack

                        Comment


                          #13
                          Re: Detail View differences when adding a new record versus editing an existing recor

                          Gandhi,

                          Excellent! Enabling the "pre-fetch" did cause the problem.

                          I was led to believe that it was always good to pre-fetch since subsequent work would be faster than without it...I've got it turned on in all my grids, etc.

                          You really had me going when I viewed your view and the way it worked in all modes.

                          Thanks for the help Gandhi.

                          Jack

                          Comment

                          Working...
                          X