Discussion:
VFP9.0 Ri Code problem?
(too old to reply)
DP
2005-06-24 18:31:35 UTC
Permalink
When you genera ricode there is a line of code reading

unlock record pnParentRec in lcParentWkArea

Which will cause the error "Alias lcParentWkArea not found". If you
change it to

unlock record (pnParentRec) in (lcParentWkArea)

It works -

Question - Is there a ribuilder.App out there that does that and does not
require you to make those fixes to the Auto genereated RI code manually?

TIA
Dan Freeman
2005-06-24 20:38:49 UTC
Permalink
No, but you have the source for all the wizards and builders so you could
just fix this and recompile wizards.app.

Dan
Post by DP
When you genera ricode there is a line of code reading
unlock record pnParentRec in lcParentWkArea
Which will cause the error "Alias lcParentWkArea not found". If you
change it to
unlock record (pnParentRec) in (lcParentWkArea)
It works -
Question - Is there a ribuilder.App out there that does that and does
not require you to make those fixes to the Auto genereated RI code
manually?
TIA
dp
2005-06-28 14:16:51 UTC
Permalink
Thanks found it

Just surprised noone else ran into that problem
Post by Dan Freeman
No, but you have the source for all the wizards and builders so you could
just fix this and recompile wizards.app.
Dan
Post by DP
When you genera ricode there is a line of code reading
unlock record pnParentRec in lcParentWkArea
Which will cause the error "Alias lcParentWkArea not found". If you
change it to
unlock record (pnParentRec) in (lcParentWkArea)
It works -
Question - Is there a ribuilder.App out there that does that and does
not require you to make those fixes to the Auto genereated RI code
manually?
TIA
Kurt W
2005-07-07 15:29:18 UTC
Permalink
I have the same problem, I haven't found a fix from MS yet so thanks for the
code idea.
Post by dp
Thanks found it
Just surprised noone else ran into that problem
Post by Dan Freeman
No, but you have the source for all the wizards and builders so you could
just fix this and recompile wizards.app.
[quoted text clipped - 17 lines]
Post by Dan Freeman
TIA
Loading...