Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form with Parameterized View Crashes in Runtime
Message
From
05/10/2001 18:47:41
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00564583
Message ID:
00565042
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>So if this ever happens, again, I'll just move the project and see if that fixes it. I got bogged down within the debugger trying to get a clue, and that wasn't terribly helpful and this was at the end of a very long session trying to figure out parameterized views for the first time. I'm still not sure how the problem was created in the first place, but I've been had been screwing around with the project's DBC bigtime.

The simple rule is that the variable which is the PV's parameter should be in scope when requery() is called. Therefore, search your code for requery("yourview") and set a breakpoint there. It's going to be harder with framework code, though, since it'll probably be in a generic method named something like Amanager.Zmanager.RequeryAView, and the line would be something like
requery(this.parent.xxxmanager.viewalias)
or something equally indirect and generic.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform