Article ID: 128078
Article Last Modified on 2/12/2000
Field Type Width
-----------------------
Test1 character 10
Test2 character 10
When prompted to Input Data Records Now, choose Yes and add data to the
table.
CLOSE ALL
USE c:\vfp\data1.dbc &&actual path to your .DBC file may be different
BROWSE
ON ERROR DO errhand && To trap, and send to the error
&& handler procedure
OPEN DATABASE SYS(2004)+'data1.dbc' && An existing corrupt DBC file
ON ERROR && To reset ON ERROR to default
PROCEDURE errhand && The error handler
IF ERROR()=1552 && Check which error occurred
WAIT WINDOW 'Error #: '+STR(ERROR())+' Message: '+MESSAGE()
ENDIFAdditional query words: trap error VFoxWin
Keywords: kbcode KB128078