I know this is my application fault. somewhere in my application my dbf file is closed. I should find how to close, but I need a workaround now.
I don't want to give error message to user.
I have seen Richard's suggesstion and I have added this codes in my application.
- Code: Select all Expand view
- ..
..
oBrw:bGotFocus := {|o| Browse_Kontrol_Et(o)}
..
..
FUNCTION Browse_Kontrol_Et(o)
IF !Empty(o:cAlias)
IF SELECT(o:cAlias) = 0
// .....
// Which code I should write here so that it does not give an error.
// .....
ENDIF
ENDIF
RETURN
This error occurs in when I press to exit button on dialog. Is there any suggestion?