To retrieve error information when CursorFill returns False (.F.), you must call the AERROR( ) Function function because Visual Foxpro error handling, such as the ON ERROR command, Error event, and TRY...CATCH...FINALLY command, does not capture this error information.>Thank you for your help, I trued that in the command window but it does not work. The open file dialog does not appear anymore nut cursorfill return .F.