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

Can't export from a Set?

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

    Can't export from a Set?

    I am using A5 V3.01, and I am trying to export some fields from both tables in a 2-table set to an Ascii file (or any other format that works). I use the Export operation genie, and it all goes swimmingly and I end up with the right fields and options in the various windows. Then I run the export, and the output file contains completely wrong fields - some are duplicated and some that I chose just don't come across at all. Also, even though I have NOT specified that fieldnames are to be exported, they seem to appear as headers in the output file regardless.

    The operation design looks right, but the results aren't even close. Is it actually possible to export from multiple tables in a set, because so far I haven't managed to successfully combine data from two tables - even though the designer appears to allow it. Any ideas what might be going wrong?

    #2
    RE: Can't export from a Set?

    Steve,
    Is the set designed as a 1 to 1 or a 1 to many. If 1 to many, you may be running into the problem caused by virtual records. A5 exports 1 record for each virtual record in stead of 1 record for each actual record. BTW, I'm not sure about this but it's a reasonable idea.
    Ohlen

    Comment


      #3
      RE: Can't export from a Set?

      Ohlen,

      The set is a one-to-many. I have a "donor" record and mutliple "item" records (it's an auction system). I want to export each item with details of who donated it, so I'm using the Donor-Item set as the source. It allows me to select the fields I want from both tables, but the export results in strange records containing data from the Donor (sometimes duplicated) but no Item data at all, despite the fact that the export layout looks exactly as I want it. My question is - am I trying to do something that A5 simply doesn't do properly?

      Comment


        #4
        RE: Can't export from a Set?

        ". I have a "donor" record and mutliple "item" records " -

        That's what Ohlen was pointing out. Your set contains composite "virtual records". Every Donor you set up will create a Donor-Item record in the set, the fields from the Donor table being filled, the fields in the Item table, yet to be filled.

        When you export from the set you are getting these empty Item fields.

        I think.
        There can be only one.

        Comment


          #5
          RE: Can't export from a Set?

          Hmmm. Let me clarify - the set contains 50-odd donor records and 70-odd item records (all of which contain valid data). In other words, most donors only have one item, but they must be able to have more. All I'm trying to do is take this existing data and export the details into an ascii file so I can mailmerge it in word. I want each item to produce an export record containing the item data PLUS the donor name (from the parent donor record) - pretty simple relational stuff, I would have thought. But, while the export operation lets me select the fields I want (some from the item record and some from the parent donor), the result when I run the operation is quite different -it sends out donor fields that I haven't selected, and no item fields at all. How can the operation designer and the result look so different?

          Regardless, if this IS a problem with virtual records, how can I achieve the simple task I'm trying to do as described above? (Simply export a composite record for each child record in a one-to-many set, containing some info from the appropriate parent.)

          Comment


            #6
            RE: Can't export from a Set?

            If for each child you want the donor, invert the set. That is, make the item the parent and link it 1 to 1 to the donor. Base your export on this new set.

            Comment


              #7
              RE: Can't export from a Set?

              Thanks Ohlen, but I already tried that several times. Nothing I get in the output file makes any sense, and it's extremely frustrating. I can only think that perhaps one of the settings in the export design in causing problems, but I'll just have to go through each dialog checking and unchecking boxes to see whether each change makes any difference. I may also reinstall A5 in case there's a corrupted file somewhere. What I'm getting makes no sense at all - after selecting 3 fields (call them b,c and d) from the donor table and 5 fields from the item table (call them v,w,x,y,z) the output consists of fields a,b,c,d,e,a,b,c (all from the donor table) and nothing from the item table. As you can see, I didn't even choose some of those fields, and others are duplicated). Weird!
              I'll play some more tonight and see how I go....but I've never encountered something so unintuitive in A5. Usually it's a breeze. Thanks for your interest!

              Comment


                #8
                RE: Can't export from a Set?

                Here's what I'd do. Go to the A5V3 directory and erase all files with the extension MPX. These are queries that alpha created and keeps around. If any are corrupted, they can throw off the search. Then search for and erase any files with extension ASX. These are temporary indexes. Alpha will rebuild both of these if needed. Then compact the database a couple of times to rebuild your indexes and remove any trash in the database definitions files. Try again.

                Comment


                  #9
                  RE: Can't export from a Set?

                  Another thought:

                  Look at message 52709 on the A5V4 board. It describes how to open the table definition files so you can see what's in them. You might want to take a look and make sure the field names are in fact correct. If you gave your form fields names that are different than the table names, you could be using the wrong name to identify the fields.

                  Comment


                    #10
                    RE: Can't export from a Set?

                    Thanks for both suggestions Ohlen.....I plan to dive in tonight and see what's what. Unfortunately, my attention has been distracted by the loss of my DSL provider (with no alternative available), so I'm back to struggling with dial-up connections and making the necessary adjustments to my network. Aarrgghh!! I hate phone companies!

                    Comment


                      #11
                      RE: Can't export from a Set?

                      Hmmm.....how exactly do I get to that message? I tried searching for 52709 on the A5V4 board, but no luck.

                      Comment


                        #12
                        RE: Can't export from a Set?

                        Search for ddd,ddm,ddx. Sorry I thought you could search for a message by number.

                        Comment

                        Working...
                        X