General information
Category:
Visual FoxPro Beta
I think this is not a bug, and yes I know that Sergey said it is <g>. But if I'm right there will be no way that this is changed in 9.
Here's what's happening:
Even if you don't use the data environment a REPORT FORM command creates a public data environment reference, and by default this reference is going to be the same as the name of the FRX. If you use the NAME clause on the REPORT FORM command, you can change the reference var that the report uses for this purpose, of course.
I have no idea how you create your form, but if you use a DO FORM its reference var by default is going to have the same name. See? If you rely on that default reference var, you're going to have to explicitly NAME one or the other.
Again, I'm not sure I've guessed right.
But, in 9, there would be an easy way for you to see that name, if you wanted to verify what I'm saying.
1. Put a breakpoint on something like "beforereport" $ lower(prog()).
2. REPORT FORM ? OBJECT TYPE 1
3. In the debugger, at the break, take a look at this expression:
this.CommandClauses.de_name
>L<
>L<
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only