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

End Of file Errors

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

    End Of file Errors

    I am doing append operations and continually get read past end of file errors and then it deletes my operation and I have to start over. I had even made duplicates of the operation so if they were deleted I would still have one and now its deleted all those - about 3 hours of work down the drain - any suggestions on why I am getting this. Sometimes it works just great - and they it goes crazy. I can run them fine thru the operations, but when I put into a script is when I seem to get them more - but not always

    #2
    Re: End Of file Errors

    Leah

    Please right click the append operations and show us the xbasci code.

    The end of file issue is an index problem or the operation expects to find a value and is not finding it...
    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: End Of file Errors

      Al - here is the Xbasic - The strange thing is that these operations will run thru the operations tab just fine without errors. But when I include them in a script (since I am trying to combine about 5 tables so I can run one easy report automatically)it bombs and then it locks something so I can't even open them in Operations and when I close and reopen Qbuilder - any of the operations using the initial table are gone (which is all 5 of them). I used action scripting to create this - my next thing was going to be to convert to exbasic and combine them all into one xbasic script. (PS - I have this same thing happening on one of my Alpha5 Exports - it works fine in the operation, but when I put it into a Script - it won't work-although it doesn't delete that one)


      DIM Append as P

      a_tbl = table.open("billitemlineaccts")
      append.t_db = "CheckExpenseLine"
      ON ERROR GOTO ERROR06042009090333925


      append.m_key = ""
      append.t_key = ""
      append.m_filter = ""
      append.t_filter = ""
      append.type = "All"
      append.m_count = 17
      append.m_field1 = "Txnid"
      append.m_exp1 = "@Checkexpenseline->Txnid"
      append.m_field2 = "Timecreated"
      append.m_exp2 = "@Checkexpenseline->Timecreated"
      append.m_field3 = "Timemodified"
      append.m_exp3 = "@Checkexpenseline->Timemodified"
      append.m_field4 = "Editsequence"
      append.m_exp4 = "@Checkexpenseline->Editsequence"
      append.m_field5 = "Txnnumber"
      append.m_exp5 = "@Checkexpenseline->Txnnumber"
      append.m_field6 = "Vendorreflistid"
      append.m_exp6 = "@Checkexpenseline->Payeeentityreflistid"
      append.m_field7 = "Vendorreffullname"
      append.m_exp7 = "@Checkexpenseline->Payeeentityreffullname"
      append.m_field8 = "Txndate"
      append.m_exp8 = "@Checkexpenseline->Txndate"
      append.m_field9 = "Txndatemacro"
      append.m_exp9 = "@Checkexpenseline->Txndatemacro"
      append.m_field10 = "Refnumber"
      append.m_exp10 = "@Checkexpenseline->Refnumber"
      append.m_field11 = "Itemlinetxnlineid"
      append.m_exp11 = "@Checkexpenseline->Expenselinetxnlineid"
      append.m_field12 = "Itemlinedesc"
      append.m_exp12 = "@Checkexpenseline->Memo"
      append.m_field13 = "Itemlineamount"
      append.m_exp13 = "@Checkexpenseline->Expenselineamount"
      append.m_field14 = "Itemlineclassreflistid"
      append.m_exp14 = "@Checkexpenseline->Expenselineclassreflistid"
      append.m_field15 = "Itemlineclassreffullname"
      append.m_exp15 = "@Checkexpenseline->Expenselineclassreffullname"
      append.m_field16 = "Salesorpurchaseaccountreflistid"
      append.m_exp16 = "@Checkexpenseline->Accountreflistid"
      append.m_field17 = "Salesorpurchaseacctrefflnm"
      append.m_exp17 = "@Checkexpenseline->Accountreffullname"
      append.t_count = 0

      'Prompt for confirmation before running the Operation.......
      dim rec_count as n

      rec_count = a5_get_records_in_query("CheckExpenseLine",append.t_filter,-1,.f.)
      message_text = "A maximum of "+rec_count + " record(s) will be appended from 'CheckExpenseLine', to 'billitemlineaccts'. "+crlf(2)+ "OK to proceed?"
      operation_result=ui_msg_box("Append Operation",message_text,UI_OK_CANCEL+ UI_FIRST_BUTTON_DEFAULT+ UI_INFORMATION_SYMBOL)
      If operation_result <> ui_ok_selected then
      end
      end if


      a_tbl.append()


      GOTO CONTINUE06042009090333925
      ERROR06042009090333925:
      ON ERROR GOTO 0
      ui_msg_box("Error","Error running Append Operation"+crlf()+error_text_get())
      END
      CONTINUE06042009090333925:
      a_tbl.close()

      'Display a dialog box showing the results of the Operation

      dim args as sql::arguments
      if eval_valid("arguments") then
      if typeof(arguments) = "P" then
      args = arguments
      end if
      end if

      a5_append_op_result(a_records_processed,a_records_total,a_records_violated, "billitemlineaccts","Append Operation Result",args)

      'If the Operation is run from within a Form or Browse, then refresh the window
      if is_object(topparent.this) then
      if topparent.Class() = "form" .or. topparent.class() = "browse" then
      topparent.Refresh_layout()
      end if
      end if

      Comment


        #4
        Re: End Of file Errors

        Leah

        That code looks alright ( from a quick view).

        Can you send me your project?

        The easiest thing to do is to use windows to zip the project directory and then send that to me. (MyDocuments - QReportBuilderData - <your project> )

        Let me know the size of the zipped file and I'll send you a method to send it directly to me. ( and bypass the wonderful world of email)
        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


          #5
          Re: End Of file Errors

          Al- its a little less than 5,000kb. I prefer to send off the forum

          Thanks
          Leah - my email is [email protected]

          Comment


            #6
            Re: End Of file Errors

            Originally posted by Leah View Post
            Al- its a little less than 5,000kb. I prefer to send off the forum

            Thanks
            Leah - my email is [email protected]
            I sent you an email...
            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

            Working...
            X