Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid page fault on requery
Message
From
22/01/1999 19:40:52
 
 
To
19/01/1999 19:25:22
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00177534
Message ID:
00179302
Views:
26
Thank you everyone for your help. THis was indeed the problem. We had a controlsource in a grid that was not valid so the requery blew up with a GPF. Would have never figured that one out on our own!

Thanks again!!

Sally


>>I am using VFP 5.0a under Win95. I have a form that requeries periodically (or tries to). When the =requery("view_receipts") command is issued, I get a GPF invalid page fault. This happens consistently on the same requery.
>>
>>I traced thru the code, moving the requery statement around to see if it generates an error everywhere. In the load, it requeries without an error. In the init, I get the error. It is a parameterized local view. I open the view in the data environment with buffering set to the form setting (pessimistic). I then index the view in the load event and change the buffering to 5 with cursorsetprop. There is no data on load for the view and no order set in the data environment. The requery in the load event after setting the buffering does not give an error. In the Init event, I get the error if I requery before I set the property for the parameterized part of the view or if I requery after the property is set.
>>
>>Anyone have any ideas??
>>
>>THanks,
>>
>>Sally
>
>Does your form have a grid on it? If it does, check the recordsource and controlsources for each column very carefully. I bet you will find a mistyped or obsolete controlsource. Every time this has happened to me, this was the problem.
Previous
Reply
Map
View

Click here to load this message in the networking platform