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

Help with exporting

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

    Help with exporting

    I am using A5 v.4. I am trying to export some records and keep getting an error message that states:

    "Record number is past end of table"

    What does this mean and how do I correct it?

    What I am trying to do is export records by email addresses. I have done this successfully before.



    I tried earlier today and everything seemed to go well, except the new exports were not showing up in my "operations" tab.

    Here are the steps I took.

    In operations, I clicked on "new"

    Chose "Export records"

    Chose my "customer" under "Tables & Sets"

    then chose "Export Genie"

    In export file type, chose Character separated and clicked on "Strip leading blanks from fields" and "Strip trailing blanks from fields"

    In the "Name of export file" box, typed in "email-msn.com" (without quotes, of course)

    In the "Select Fields", I chose "email" and put it in the "fields to export" area.

    Nex, I chose "Records that satisfy filter criteria and "Specify filter using: Expression

    The box below, Filter Builder, I put in: right(alltrim(email),8) = "@msn.com"

    clicked OK

    Record Order - Order by email (A-Z)

    Then "Run the Export now, but first save the definition ..."

    It asked me for a name so chose email-msn

    It ran the report, but is not showing up in my "operations"

    Now, when I try to do an export, I am getting the error message
    "Record number is past end of table"

    I am desperate for some help. Thanks in advance for any help.

    CB

    #2
    Re: Help with exporting

    The name of the export file should probably be

    email-msn.txt
    email-msn.asc

    or some extension supported by your text editor

    not

    email-msn.com


    It ran the report, but is not showing up in my "operations"

    Now, when I try to do an export, I am getting the error message
    If it is not showing up on your operations tab of the control panel, how are you doing the export?
    There can be only one.

    Comment


      #3
      Re: Help with exporting

      It goes through the whole process (at least it did earlier until I got the error message) and told me how many records it exported. But the new export is not showing up.

      I have not had to put the ".txt" nor ".asc" extension on the name of the export before. I did not put ".com" on the name of the export - but only in the expression.



      Originally posted by Stan Mathews View Post
      The name of the export file should probably be

      email-msn.txt
      email-msn.asc

      or some extension supported by your text editor

      not

      email-msn.com


      If it is not showing up on your operations tab of the control panel, how are you doing the export?

      Comment


        #4
        Re: Help with exporting

        Here is what I use. I create a .txt file, open it, then copy and paste into an email under the BC tab.


        'Send Emails to ALL

        a_tbl = table.current()
        query.order = ""
        query.filter = "Sendby=\"Email\" .and. Dc_Date={}"
        query.options = "I"
        a_tbl.query_create()
        export.type = 0
        export.names = .F.
        export.file = "alltrim(email.txt)"
        export.options = "LT"
        export.field_sep = ";"
        export.record_sep = " " '<CR><LF"
        export.fields = 1
        export.field1 = "member_info->email"
        a_tbl.export()

        ui_msg_box("Note","After you click OK, NOTEPAD will open showing all email addresses. Copy and Paste to email program.",0+64)
        filename = A5.get_path()+chr(92)+"Email.txt"
        'ui_msg_box("",Filename)
        'Sys_open(filename)
        sys_shell("c:\windows\notepad.exe c:\lsf\lsf\email.txt",1)

        END

        Comment


          #5
          Re: Help with exporting

          This is so strange. The .asc files show up in my folder where I have the database info - but are not showing up in my "operations" - how can that be.

          i.e., I show:

          email-aol.asc
          email-charter.asc
          email-sbcglobal.asc
          etc.

          of those 3, only the top 2 show up.

          This is driving me crazy because I had no problems doing the export earlier.

          I finally got rid of the "Record number is past end of table" error (I restored my database from a copy I made yesterday).

          I look forward to any help.

          CB

          Comment


            #6
            Re: Help with exporting

            You could rename the files after running the operation.

            File.rename(Old Filename, New Filename)
            File.rename("email-aol.asc","email-aol.txt")

            Tom

            Comment


              #7
              Re: Help with exporting

              That didn't help either. Some of them showed up all of a sudden when I was in the program - but not all of them are showing up.

              They were all done the same and they are all in the folder for that database.

              I may have to try to re-install the program.

              CB

              Comment


                #8
                Re: Help with exporting

                I'm back and still having problems with my exports not showing up in my "operations" tab.

                I tried doing one in another database and had no problems. It just seems to be with this one database.

                I even re-installed the program.

                The .asc files are showing up in the directory, but just will not show up in my operations tab.

                Is there a way to "repair" my database? Of course, I would make a copy of it first.

                I hope there is some one out there that has an answer for me.

                thanks so much.

                CB

                Comment

                Working...
                X