Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C00005 Error
Message
From
14/09/2001 13:42:04
 
 
To
13/09/2001 17:49:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00555753
Message ID:
00556639
Views:
20
>>>>I have a lot of gpf each day.
>>>>I posted a demo of VFP 7 C5 errors at
>>>>
>>>>www.eetasoft.ee/c5demo.zip
>>>
>>>The archive seems to be irregular - Winzip complains and won't open it. Would you check it, please?
>>
>>Can you check the size - 1339277 bytes.
>
>OK now, got only 67K first time.
>
>It seemed to have rebuilt and refreshed the grid about a dozen times before giving the C0000005. The entry in the HOME()+'vfp7err.log' it mentions does not get written.
>
>>Is there a way to remove all grid columns in some other way ?
>
>Did you keep the grid's recordsource while manipulating the column? Maybe it's a little more bound to the data now; if you unbind it, would it work?

No. I tried to set recordsource to empty grid as the code below, but
C5 error occurs always.
I have found that C5 error occurs only if grid contains a combobox.
If grid contains only textboxes, no error will occur.
* Form Change layout method
this.MousePointer = 11   &&& hourglass
_screen.mousepointer = 11
* this this is removed, grid columncount will not go to zero.
this.cmdFormSwitch1.setfocus()
crrecords = this.gridbase1.recordsource
this.gridbase1.columncount = 0
this.cmdFormSwitch1.FindNextLayout(thisform.brtabel)
this.gridbase1.recordsource = crrecords
this.gridbase1.recordsource = ''   && Dragan hint
this.gridbase1.Init()
this.gridbase1.setfocus()
this.mousepointer = 0
_screen.mousepointer = 0
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform