Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this changed in 9
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00932875
Message ID:
00933192
Views:
22
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
Map
View

Click here to load this message in the networking platform