I have some code in a program that's compile to an EXE. An example of very similar code is below. When the code in my EXE runs, it fails with an error 1231 - Missing operand. But only when the value in the EditThisLine field of the cursor is True. If it is False, it works fine. But the code below that recreates almost the exact same situation (just a different cursor name, that's all) runs fine, regardless of the value in the EditThisLine field. I'm at a loss to explain this at the moment. Anyone have any suggestions?
clear all
close all
create cursor TestCursor (EditThisLine l)
append blank
replace EditThisLine with .t.
TestExpr = "not TestCursor.EditThisLine"
FinalValue = &TestExpr
? FinalValue
return
Thanks,
Russell Campbell