>>I wrote a program in vfp50. When I add a record using table
>>buffering, I setfocus to the first field. That works great as long
>>as there are records in the table. If there are not any records
>>in the table, and I try to APPEND BLANK the first record, my setfocus does not work. I can not even click the mouse to get a cursor. It is like to FORM locks up. any ideas?
>
>It sounds more like no record has been appended.
Open a debugger session and set a watch on recno()( or you could put a textbox on the form and inthe click, put this.value = recno()). It sounds like either you are not really appending the record or you are appending the record and then moving the pointer up one to eof(). The behavior you described is by design behavior for controls whose controlsource is positioned at eof(). good luck
Erik Moore
Clientelligence