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

Is it possible

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

    Is it possible

    I know it is possible to have two separate embedded browses on a single form with both browses based on the SAME table, each with SEPARATE record pointers. Is it possible, however, to separately query each browse individually (still on the single form)? I know I can't use the query functions built into the main menu, as it would try to query the header records for both browses at the same time.

    For example, with a simple invoice Set (header 1:M detail), if the set has the header table and detail table repeated, I can have separate record pointers to each browse, but could I query detail records from two different invoices, one in each browse?

    Trying to find a way to show different queried records from the same table, on the same form, so that I can have the user select records from each browse, and then be able to "swap" field data between records.

    #2
    Re: Is it possible

    It sounds like you want a form that would simulate having 2 browses to the same table open next to each other. You might try making a header table with a 1 character field filled with "X". Add a similar field to the browse table and update the field in all the records to populate with "X" too. Then you can create a set where you link the same table twice to the header on that field 1:N. I don't know how well a filter or query might work on the child tables, but you should be able to scroll each browse in the form independent of each other.

    HDR
    =>tableA1
    =>tableA2
    Robin

    Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

    Comment


      #3
      Re: Is it possible

      Thank you for your response. Yes, 2 browses on the same table open on one form. I have a form that will do that now, but I need to query each browse separately.

      I am trying to have two different Sales Orders detail records show in each browse so that I can automate a way to have the user select specific records in each browse and then "swap" field information between those specific records (basically swapping Sales Order detail records between Sales Order header records). I can do this by opening separate forms in sequence, query for the Sales Order, select the single record to act upon in each form and then pressing a script button to do the swap. If you have to move alot or records though, it is tedious - be easier to do it on one screen.

      Any other suggestions?

      Comment


        #4
        Re: Is it possible

        Robin gave you the answer. But you don't even need the separate "header" table or the "x". Just create a set w. teh table link ed to itself w. the expression: 1=1

        You should then be able to construct separate queries for "both" tables.
        Peter
        AlphaBase Solutions, LLC

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


        Comment


          #5
          Re: Is it possible

          Peter - when you say 1=1, you mean place a 1 in the parent linking field and a 1 in the child linking field? The two tables will also be linked 1 to 1 (1:1), yes?

          Doing this makes a composite set of the table and its duplicate (with separate record pointer). So far, I am able to query the first instance, but not the second. I have the first table in a browse on a form, and the second copy of the table in a second browse on the form. I have a button near each browse that has code similar to this:

          swap_browse:tables:production_order_detail.filter_expression = "job_no=var->search1"
          swap_browse:tables:production_order_detail.query()

          I must be missing something.

          Comment


            #6
            Re: Is it possible

            The "smiley face" in my post should have been an "p".
            Last edited by DORaymond; 06-30-2008, 05:06 PM. Reason: can't type

            Comment


              #7
              Re: Is it possible

              Originally posted by DORaymond View Post
              Peter - when you say 1=1, you mean place a 1 in the parent linking field and a 1 in the child linking field? The two tables will also be linked 1 to 1 (1:1), yes?
              No. The link must be 1:M
              Then use a linking expression, not a field.
              The expression for both child & parent is: 1=1

              Doing this makes a composite set of the table and its duplicate (with separate record pointer).
              Separate pointer, yes.

              Then you should be able to scroll independently and query independently.
              Peter
              AlphaBase Solutions, LLC

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


              Comment


                #8
                Re: Is it possible

                Peter,

                Well, I got it working. Since I wanted two Browse regions on my "double query" form, I had to create a set with three tables. The primary table was any dummy table, and then attached the first table 1:M and then a copy of the same table to the dummy 1:M. On the linking fields I had to use just (1) in the expression field, not (1=1) and all works well.

                I'll try to post a screen shot, but so far I have not been able to get the file under 1Mg.

                Thanks for your help! You got to love Alpha!

                Comment


                  #9
                  Re: Is it possible

                  Originally posted by DORaymond View Post
                  POn the linking fields I had to use just (1) in the expression field, not (1=1) and all works well.
                  Didn't realize that using a simple 1 would work. I think (but not sure) that in certain versions of A5, 1 would not work. Neither would "X" or .T. But glad you got what you needed out of it. Yes, A5 is very flexible.
                  Peter
                  AlphaBase Solutions, LLC

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


                  Comment


                    #10
                    Re: Is it possible

                    Well that is interesting. I had read about the X link some time ago and it worked great, but this expression idea I had not heard of. I'm going to try it. Thanks Peter.
                    Robin

                    Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                    Comment

                    Working...
                    X