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

Mapped Table limits

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

    Mapped Table limits

    I keep getting the error message "maximum open session tables exceeded" when I go to open a mapped table.
    I have mapped 57 tables into a mapped table. I thought that since it was a virtual table it would be different from a set which is limited to 40 tables. The help files state that the maximum open tables is 100. What then is the actual number of tables supported by a Mapped table?
    Do I have some kind of error in the virtual mapped table definition?
    Is a mapped table no better than a set with respect to how many tables can be in it? I think this is a bug but I don�t know because I can�t find any information on the limits of mapped tables. Can anyone clarify this? I have seen on other posts that people are running into this same error message but without answers as to why.
    Thanks for any insight!

    #2
    Re: Mapped Table limits

    No matter what the limits are.... that's a lot of tables to tie together...

    I'm guessing there is a better way to accomplish what you want..
    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


      #3
      Re: Mapped Table limits

      Originally posted by Al Buchholz View Post
      No matter what the limits are.... that's a lot of tables to tie together...

      I'm guessing there is a better way to accomplish what you want..
      Thanks for the advice, another way, or a better way is evident since the mapped table won�t work, well I am trying to make a merge to Word perfect which would use the names of the fields of the different tables. To make a generic merge I need some kind of flat file I think , that is why I thought to use a mapped table. I could write the table to a comma delimited text file I don�t know if alpha has a method to do that but as far as I know a comma delimited text file is as good a data source as any for a merge in Wordperfect. I would need to dump the tables with their field names into a file one after the other until I have added together all of the relevant tables. This might be more efficient as I could filter out tables that were not used .
      I have thought about constructing a flat table on the fly building names on the bases of the counts of records in the other tables such as Child1 Child2 child3 or Benificiary1 Benificiary2 going out to as many as there can be always an unknown amount. This would give me a more efficient flat file but a table devoted to each client which at the moment is running around 1300. I suppose there is no limit to the amount of tables you can have.
      I have also thought of joins upon joins but I don�t know how to update them to another client they seem to be a fairly static result for a onetime event as far as I can tell.

      Comment


        #4
        Re: Mapped Table limits

        But the question implicit in Al's response remains. Why so many doggone tables?

        Comment


          #5
          Re: Mapped Table limits

          George:

          The method you outline (export to flat file, then to text file) will definitely work. I designed a method using that approach in A5 V4 and, with later modifications and updates, it's still working. Here's a link to an article I wrote back in 1999 (ouch!) that is still available at LearnAlpha.com.

          http://www.learn alpha.com/Integrate...grateWWord.htm

          It describes the xbasic approach in detail. We merge with MS Word, but there's no reason why it won't work with WP, in fact it may be easier in some ways.

          A couple of points: (1) our output file has 99 fields. I'm not sure what sort of performance hit you might see with 400. (2) Assuming you have multiple users who will be merging simultaneously, you need to accommodate that into the design. (3) Assuming you have one to many relationships among some of the tables, you will need to find a way to accommodate those. I describe our approach in the article.

          Finally, the later versions of A5 have much more robust methods for writing data directly from Alpha into external files. I've since designed a much more flexible system using those methods. You should at least consider that approach.
          Finian

          Comment


            #6
            Re: Mapped Table limits

            Finian Lennon
            Thanks for responding
            I have looked at this example many times over the years as it is the only example there is that even approaches the problem. It seemed to daunting at first and unintelligible to a beginner and I am only now able to follow what is going on in the script
            you talk about more robust methods. What might they be and is there a simple single example of how to move a field into another field in another app such as word perfect.
            thanks so much.

            Comment


              #7
              Re: Mapped Table limits

              I should have used a different word. Saying "more robust" implies weakness in the original method. That method has performed well with many users for many years, so I'll change "more robust" to "more direct".

              The main difference with later approaches is that in the original method the construction of the merge documents was all done separately in Word and the actual merge was triggered by Word macros rather than Alpha itself.

              Using Alpha's OLE methods you can now use xbasic (this is for Word, I'm assuming, but don't know for sure, that WP can manipulated in a similar fashion) to do something like :

              Code:
              olestring = "Word.application"
              WrdApp = ole.GetObject("",Olestring)
              if alltrim(WrdDcNew) <> "" then
              opendocname = Checkslash(alltrim(Dpath4)) + alltrim(WrdDcNew)
              wrddoc = WrdApp.Documents.Open(opendocname)
              and later

              Code:
              WrdMailMerge = WrdDoc.MailMerge()
              to begin constructing the merge itself.

              I don't know how much, if any, of this can be done with action scripting. I rely on xbasic.

              No matter how you look at it, constructing an interface for others to do mail merges requires a good deal of time and effort. There are just so many user options to be considered.

              FWIW, I still use an updated version of my original approach. I write the application data into a flat file and then into a text file which is the merge data source. Now, however, I can use Alpha to insert merge fields into the Word doc, run the merge and run any of the existing Word formatting macros, where appropriate.
              Finian

              Comment

              Working...
              X