Here's my problem.
(working on a FoxPro 5)
I have a search routine which asks for search string, creates cursor, re-sets it as RowSource for the list.
.ListDocs.RowSource = m.sCursorName+"->NUM_SCH,DATE_SCH,Full_Sum,NDS,spTypeKorr,DATE_BUCH, OLD_SCH, OLD_DATA"
I saw cursor created if I insert "browse" or "save to c:\ttt"
I even saw this item in the list
BUT.
If I execute .ListDocs.setFocus
or just make that window selected - application crash with some uncomprehensible errors
(like
variable OLD_SCH is not found
)
and I just saw that field exist all right.
Actually it occured that it crashes just if I select that line in the list then swich active windows.
Most of the time things work just fine.
So I dumbfolded. What could be the case?
(working on a FoxPro 5)
I have a search routine which asks for search string, creates cursor, re-sets it as RowSource for the list.
.ListDocs.RowSource = m.sCursorName+"->NUM_SCH,DATE_SCH,Full_Sum,NDS,spTypeKorr,DATE_BUCH, OLD_SCH, OLD_DATA"
I saw cursor created if I insert "browse" or "save to c:\ttt"
I even saw this item in the list
BUT.
If I execute .ListDocs.setFocus
or just make that window selected - application crash with some uncomprehensible errors
(like
variable OLD_SCH is not found
)
and I just saw that field exist all right.
Actually it occured that it crashes just if I select that line in the list then swich active windows.
Most of the time things work just fine.
So I dumbfolded. What could be the case?