Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bugs - Access methods & SET DEFAULT?
Message
From
14/02/2003 00:46:53
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Bugs - Access methods & SET DEFAULT?
Miscellaneous
Thread ID:
00753086
Message ID:
00753086
Views:
71
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
Next
Reply
Map
View

Click here to load this message in the networking platform