Get a Jumpstart with our Sample Apps
Results 1 to 6 of 6

Thread: File pointer error

  1. #1
    Member
    Real Name
    Robin Henagulph
    Join Date
    Jul 2015
    Posts
    5

    Default File pointer error

    Trying to add a new field to a table and get 'An attempt was made to move the file pointer before the beginning of the file $$282B00.FPT' and can not save???
    Also how do I get the 'New Thread' to open in the appropriate A5?

  2. #2
    "Certified" Alphaholic Ray in Capetown's Avatar
    Real Name
    Ray Hendler
    Join Date
    Jan 2009
    Location
    South Africa
    Posts
    2,036

    Default Re: File pointer error

    Above this post, see the home icon - Forum -Alpha Software - General questions.
    You clicked the last. Click Forum and select as appropriate.

  3. #3
    "Certified" Alphaholic DaveM's Avatar
    Real Name
    Dave Mason
    Join Date
    Jul 2000
    Location
    Hudson, FL
    Posts
    5,828

    Default Re: File pointer error

    For desktop
    If this will help: change field name, type, etc and table names
    Code:
    tp = table.open(A5.GET_PATH()+"\receipts.dbf")
    flist = tp.field_name_get()
    tp.close()
    
    IF .not. ("referal"$flist)
    a5_add_fields_to_table(A5.GET_PATH()+"\receipts.dbf","referal,C,40")
    END IF
    This is placed in the autoexec script as I use it
    Dave Mason
    dave@aldaweb.com

    Skype is dave.mason46

  4. #4
    Member
    Real Name
    Robin Henagulph
    Join Date
    Jul 2015
    Posts
    5

    Default Re: File pointer error

    Quote Originally Posted by RHBERMUDA View Post
    Trying to add a new field to a table and get 'An attempt was made to move the file pointer before the beginning of the file $$282B00.FPT' and can not save??? Sorted thanks to Al B, Bookwood
    Also how do I get the 'New Thread' to open in the appropriate A5?

  5. #5
    Moderator
    Real Name
    Alan Buchholz
    Join Date
    Oct 2000
    Location
    Delavan, Wisconsin
    Posts
    9,382

    Default Re: File pointer error

    Open the forum and there will be a post new thread button.
    Last edited by Al Buchholz; 01-22-2017 at 05:27 PM.
    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.

  6. #6
    Member
    Real Name
    Robin Henagulph
    Join Date
    Jul 2015
    Posts
    5

    Default Re: File pointer error

    Thanks Alan!
    I found that I had to enter a Sub-Forum to gain entry...

Similar Threads

  1. dynamically setting report bitmap image file pointer
    By Mike Wilson in forum Alpha Five Version 11 - Desktop Applications
    Replies: 6
    Last Post: 10-06-2013, 11:10 AM
  2. fails to add a field to a table -- error: "attempt was made to move the file pointer"
    By steveo in forum Alpha Five Version 10 - Desktop Applications
    Replies: 2
    Last Post: 07-28-2012, 06:36 AM
  3. File pointer error msg
    By Matt Osbourne in forum Alpha Five Version 10 - Desktop Applications
    Replies: 2
    Last Post: 01-19-2011, 10:39 AM
  4. Help! Move File Pointer Message
    By Ckirkpatrick in forum Alpha Five Version 10 - Desktop Applications
    Replies: 1
    Last Post: 01-07-2011, 12:23 PM
  5. file pointer error on append
    By FreeBird in forum Alpha Five Version 10 - Desktop Applications
    Replies: 4
    Last Post: 06-15-2010, 12:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •