Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7.0 Crashing Often
Message
De
03/10/2001 18:09:21
 
 
À
14/09/2001 12:16:07
Cathy Ciciulla Neppe
Tenaska Marketing Ventures
Omaha, Nebraska, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00550646
Message ID:
00563923
Vues:
27
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform