Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bugs - Access methods & SET DEFAULT?
Message
De
14/02/2003 00:46:53
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Bugs - Access methods & SET DEFAULT?
Divers
Thread ID:
00753086
Message ID:
00753086
Vues:
75
I've downloaded the VFP8 installation from the MSDN Universal Subscription site. Installation didn't report any errors, but I'm getting two very strange behaviors:

#1 SET DEFAULT TO [path] gives an "Invalid Path or File Name" even with valid paths, like C:\. CHDIR works fine, though.

#2 For Access methods, the parameter value does not seem to be getting passed to the Access method, for example:

Class bizobjects has a property dataobjects[1,0]
----
Dataobjects_access method:
LPARAMETERS m.nIndex1
LOCAL nDataObject
....
RETURN this.dataobjects(m.nIndex1)
-----
When Executing line of code:

this.dataobjects(nCounter).setUtilityObject(this.oUtilityObject)

m.nIndex1 in the Access method is always .F.

This works fine in VFP6 & VFP7, I know we now have proper Collections (which the above code is designed to emulate, allows for named Collections like this.dataobjects("mydataobject").myProperty - but is this now going to be broken in VFP8 or is there a bug here or problem with my installation?

Thanks for the help.
Eric Shaneson
Cutting Edge Consulting
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform