Anchor | ||||
---|---|---|---|---|
|
Version
Before XFRX 22XFRX 17.0
Symptoms
- Uses XFRX#INIT engine.
- XFRXlog don't contains errors.
- Calls
SetThis()
orSetThisform()
methods
Cause
If you call SetThis()
or SetThisform()
methods then XFRX use EXECSCRIPT()
for evaluating all expressions - because can contains This
or Thisform
Thisform (
for VFP 9) . It's beautiful function, but it's very slow for the case. This change was in XFRX 17.0.
Workaround
Workaround is simply for a few reports:
- Open report as table and change thisform to poForm
REPLACE EXPR WITH STRTRAN(EXPR, "Thisform", "poForm") , REPLACE SUPEXPR WITH STRTRAN(SUP, "Thisform", "poForm") ALL
REPLACE TAG WITH STRTRAN(TAG, "Thisform", "poForm") FOR OBJTYPE=18
- Create public variable poForm.
- Fill it with value Thisform.
- Calls XFRX#INIT