VFP 9.0 Fix4 - Invalid RelationalExpr Expression

Rating: No reviews yet
Downloads: 248
Released: Apr 22, 2012
Updated: Apr 22, 2012 by ccb2000
Dev status: Stable Help Icon

Recommended Download

Source Code vfp9fix4
source code, 118K, uploaded Apr 22, 2012 - 248 downloads

Release Notes

1. BUG:

In vfp9 (and vfp6, vfp7, vfp8), if the RelationalExpr expression include Evaluate() function, vfp will crash.

1, If the RelationalExpr expression include macro substitution,
vfp will occur an error: Relational expression is not valid (Error 1555).

*PROC testrelationalexpr_macro

SET STEP OFF
SET ECHO OFF
SET DEBUG OFF
SET ESCAPE OFF
SET TALK OFF
SET SAFETY OFF

_SCREEN.VISIBLE=.T.
_SCREEN.WINDOWSTATE=2

SET EXCLUSIVE OFF
SET MULTILOCK ON
SET COLLATE TO "MACHINE"

CLOSE DATABASES ALL
CLOSE TABLES ALL

PUBLIC x1
x1="CHR(65)"

DO FORM testrelationalexpr_macro.scx

CLOSE DATABASES ALL
CLOSE TABLES ALL

RETURN

* END OF PROC TESTRELATIONALEXPR_MACRO.

In the testrelationalexpr_macro.scx:

relation1.RelationalExpr = "fld1+LEFT(&x1,0)"

Reviews for this release

No reviews yet for this release.