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

record focus

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

    record focus

    I have two different forms that save to one table. I realize this is not the best way to handle a situation but it is what the client wants. I want to be able to enter data in the first form, click a button that will then take me to the 2nd form with focus on the same record I was in on the first form.

    If I use current record on the init for the 2nd form it brings me to the last record that form was on and not the current record that I just entered on the first form. Using the onpush event of the first form I open the second form but am unable to determine which command I need to bring me to the same record that I am currently in. If I save the record from my first form prior to opening the 2nd form and use new record of course I will get the next record available and not the one just saved.

    The main reason for two different forms is because the client wants them on separate pages. I have tried using a subform but this puts it all on one page causing the client to scroll and they refuse that. I have tried a page break but it still shows as one page, maybe that is just for printing purposes?

    Here is the bottom line of the end result I need:

    Open main data entry form: record 1
    Enter client data from lookup, enter auto data from lookup (both allowing changes and additions to records) After the last entry on that page is entered I need to go to the second form (or a 2nd screen page, however else possible) and begin entering the parts information for that invoice. This of course needs to be the same record.

    I prefer to save the information from page 1 before closing it and going to page 2. So if on the onpush of a button I set it to: save record, open form2, select record # just saved, allow data to be entered on this form ... which new action should I be selecting to focus on the last record saved from the previous form, and do I use 'change record' as my action once I have the appropriate focus?

    Thanks. Any suggestions will be greatly appreciated. Also, the customer does NOT want tabbed forms. These two forms need to be separate or at least appear to be on separate screens. He only wants one screen to appear at a time so I will be closing each form upon saving and prior to opening the new form.

    Cheryl
    Cheryl
    #1 Designs By Pagecrazy
    http://pagecrazy.com/

    #2
    RE: record focus

    Cheryl,

    I never work with Customers that do like yours.

    May I suggest opening your second form and then closing your first form in that order. That way you can enter your info - save - open form - close the 1st form and be on the same record?

    I would have put tabs in!


    Dave
    Dave Mason
    [email protected]
    Skype is dave.mason46

    Comment


      #3
      RE: record focus

      At the moment I have not even closed the first form. Opening the 2nd form is not a problem ... getting it to have focus on the same record that the first form is the problem. It either gives me the last record that the form was in, which would have been the previously saved record from the 2nd form, or it gives me the next record in sequence if I try to save the record from the first form prior to opening the second form.
      Cheryl
      #1 Designs By Pagecrazy
      http://pagecrazy.com/

      Comment


        #4
        RE: record focus

        Cheryl,

        I have many forms opening another form in the same set or on the same table and as long as i click the 8 current record only, it seems to work. I do make sure I save the record with the same button before I open the second form.

        Not sure what is happening there.

        Dave
        Dave Mason
        [email protected]
        Skype is dave.mason46

        Comment


          #5
          RE: record focus

          Hi Dave,

          The 8 current record only is what I am unable to locate. Where do I select this? And should I select this action in the onpush event of the button that takes me to the second form or on the oninit of the 2nd form? I am thinking the onpush of the first form, but I am totally blind because I do not see 8 current record only as an option anywhere.

          Thanks
          Cheryl
          Cheryl
          #1 Designs By Pagecrazy
          http://pagecrazy.com/

          Comment


            #6
            RE: record focus

            NM, I found it ... I was looking for it as a new action. I located it in my action to open the second form and now have that working correctly. I knew I had seen it before :) Thanks for your help Dave.
            Cheryl
            #1 Designs By Pagecrazy
            http://pagecrazy.com/

            Comment


              #7
              RE: record focus

              Cheryl

              Don't forget that you have the open form available to you in the menu selection and in action scripting. It will 'switch' the form that you are using and keep you on the same record.

              An action script that saves the record and switches the form might be what you are looking for.

              See attached image.
              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


                #8
                RE: record focus

                Hi Al,

                I am using action scripting, sorry if I was not clear. Using the onPush event of my button I save the current record I just entered, open my 2nd form with focus on that current record, and then close the first form. This is all done via action scripting for the onPush event of that button. Is this not the correct way to do this? It seems to be working fine and doing what the client has requested.

                Thanks
                Cheryl
                Cheryl
                #1 Designs By Pagecrazy
                http://pagecrazy.com/

                Comment


                  #9
                  RE: record focus

                  Cheryl

                  Yes I understand.

                  Although I missed stated the sequence from memory, this is what I'd suggest.

                  The method that I am describing just swaps the form and doesn't require that the record is 're-read'.

                  See attached image from action scripting a button on a form.
                  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


                    #10
                    RE: record focus

                    sorry Al but your screen shot is not legible :(
                    Cheryl
                    #1 Designs By Pagecrazy
                    http://pagecrazy.com/

                    Comment


                      #11
                      RE: record focus

                      Cheryl

                      Usually a .png when viewed with windows picture and fax viewer can be zoomed.

                      Here's a .jpg to try.
                      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


                        #12
                        RE: record focus

                        Hi Al,

                        Can you please explain that a little further for me as far as the differences between swapping forms and my opening the new form and closing the old form?

                        Thanks
                        Cheryl
                        Cheryl
                        #1 Designs By Pagecrazy
                        http://pagecrazy.com/

                        Comment


                          #13
                          RE: record focus

                          Cheryl,

                          Have you tried manipulating the visibility property of the fields? You could use a conditional object, or not, but in either case, the first group of fields could have their visibility set the Show, and the second group set to Hide. When your user leaves the last field in the first group, flip the visibility.

                          It take a little bit of work, but it should work for you. If you want to see this in action, let me know and I can show it to you using Glance.

                          Dave
                          Dave Jampole
                          www.customalpha.com

                          Women and cats will do whatever they want. The sooner men and dogs realize that, the happier they will be.

                          Comment


                            #14
                            RE: record focus

                            Right now I am using the onpush event of a button that saves the current record, opens the new form at the current record allowing changes, and closes the original form.

                            If what you are speaking of is a better way I would need you to explain it in much more detail because I am not following your suggestion.

                            Thanks
                            Cheryl
                            Cheryl
                            #1 Designs By Pagecrazy
                            http://pagecrazy.com/

                            Comment


                              #15
                              RE: record focus

                              Cheryl,

                              My apologies for not being as clear as I should have been. A demo would be easier to understand. I can set up a Glance session and show you what I mean. Glance does not have audio capabilities, so when we connect we will need to also have a phone link so we can talk and discuss what you're looking at.

                              What time zone are you in? I'm in the Central time zone just outside Shreveport, Louisiana. If you want to do the Glance session, gove me a time that works for you and I'll give you my phone number and we can set it up.

                              Playing with the visibility property of objects is really pretty easy once you see it in action. I found it is a good way to get more on a single screen than could possibly fit if all the objects were visible at the same time.

                              Dave
                              Dave Jampole
                              www.customalpha.com

                              Women and cats will do whatever they want. The sooner men and dogs realize that, the happier they will be.

                              Comment

                              Working...
                              X