I have a VB6 application using Crystal Reports XI.
After almost two years suddenly I cannot set RecordSelectionFormula
anymore. The error message says, that Basic syntax is not allowed in record selection formula.
The formula is {article.id} = 1234
.
I've tripple checked that formula. It works fine in the Crystal Reports designer, but even if I save that formula and change it at runtime to {article.id} = 1235
I get the same error message. Also there's no reason why this worked the whole time and suddenly not.
After googling I find that a few users have the same problem, but since Crystal Reports 11 and VB6 are somewhat antiquated, nobody seems to have solution, except updating to a newer versions of Crystal Reports or Visual Basic.