Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fatal Error C0005 After setting filter and locate (or skip)
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Fatal Error C0005 After setting filter and locate (or skip)
Miscellaneous
Thread ID:
00369179
Message ID:
00369179
Views:
60
Hi everybody,

Ok, today is probably not my best day :( Each time I invoke my application and check CheckBox Resolve Dupes, VFP crashes. It's on one particular table only. This table is a part of DBC and has lots of field rules.
In CheckBox.Valid method I have this code:
* 3/15/99: support enablement/disablement side-effects on toggling of Resolve Dupes mode
* 3/23/99: resolve mode should implicitly filter to non-blank dedupeflag if there is no current filter.
*     Invoke new navUpdate instead of making direct calls to bare navrefresh.
* 3/31/99: give user an easy way to exit from Combine mode by exiting from Resolve mode.
set step on
* implicitly filter to non-blank dedupeflag if there is no current filter
if this.value and empty(filter())               && switching into Resolve mode
     set filter to dedupeflag # DDFC_NONE     && restrict to possible or resolved dupes
     thisform.FilterStr=filter()
     locate
endif

* clear Combine mode if currently in effect, as an easy way to cancel from Combine action
thisform.deducombmode = .f.                         && turn off mode of selecting records for Combine

thisform.navstand.navupdate()               && force adjustment of enablement/disablement states
*thisform.grdBldMstr.Refresh()
*thisform.grdBldMstr.SetFocus()
*thisform.Refresh()
I added locate today and now it gives me an Error on this string. Otherwise it gives me this Error in Navstand.Buttons.Freshen on SKIP line.

I will check, if the problem with this particular table or it's a more general problem. In any case, I'd like to know, how to prevent this Fatal Error, if it's possible.

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform