Hello Dave
sorry if you know, do you know what EOF means??
it means your record pointer (active record in table) is at the End Of File the last record in the table which isn't really a record at all and can not store data it's like a footer
try resetting the record pointer, also set step on and in the debugger watch window type "eof()" and see what it says
m = reccount()
append blank
goto m+1
also if this table has no records in it, try adding a blank record then running your code (sometimes the append general doesn't work if the table has no records)
Hope this helps ya
>on a machine whose VFP environment settings i do not currently have access to
>an EOF error (error 4)occurs during the following sequence of commands
>
>APPEND FROM ARRAY laHolder FIELDS Mattnum, LineNo, TicketNo
>GATHER MEMVAR FIELDS Lot_Id,DrawDate
>
>during debugging i discovered laHolder is a one dimensional array of length three. Containing correct values.
>
>During the second line of code an EOF error (error 4) occurs.
>I thought the record pointer would be at the final record in the table, Thus, making an EOF error impossible.
>
>On my development machine an EOF error DOES NOT occur.
>In a worst case scenario I am going to debug the VFP Application ON the machine generating this error. But, I do not wish to do so.
>
>Any idea if any VFP environment settings can cause this kind of error to occur ?
>
>We are running VFP 5.0a (SR3)
>
>Any other ideas?