Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7.0 Crashing Often
Message
From
03/10/2001 18:09:21
 
 
To
14/09/2001 12:16:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00550646
Message ID:
00563923
Views:
25
Hi Cathy,

Thank you for bringing this to our attention!

This is actually pretty simple, and also happens in VFP6. The following code is a simpler example. Uncomment the this.RecordSource = "" to make the crash not occur.


CLOSE DATABASES ALL
public junk
CLOSE DATA ALL
OPEN DATA HOME()+'samples\tastrade\data\tastrade'
SET DATA TO TasTrade
USE 'Customer Listing' ALIAS Customers
junk = createobject('mygrid')

DEFINE CLASS myGrid as grid
RecordSource = "Customers"
Visible = .T.
Width = 500

FUNCTION INIT
SELECT Customers
lcRS = this.RecordSource
* this.RecordSource = ""
=REQUERY("Customers")
this.RecordSource = lcRS
ENDPROC

ENDDEFINE


I passed this one up the line.

Thanks again!

Jim
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.
Previous
Reply
Map
View

Click here to load this message in the networking platform