Information générale
Titre:
Data Environment-new property
I have not seen this mentioned in any of the documentation. The dataenvironment object has a new property OBJECTS which was not present in VFP 6.0
This is a GOTCHA for me right now as my old app's use a custom data environment where I have an array property named OBJECTS.
The following code runs in VFP 6 but tells me:
"'Objects' IS NOT AN ARRAY" in VFP 7.0
DEFINE CLASS MYdataenvironment AS DATAENVIRONMENT
DIMENSION OBJECTS(1) && This causes an error in VFP 7
DODEFAULT()
ENDPROC
To verify this, I created a dataenvironment object in VFP 6 and VFP 7 as follows:
odata = CREATEOBJECT("DATAENVORONMENT")
Display Objects
In VFP 7 a property named OBJECTS is present that is not present in VFP 6.
I'm not sure if anyone else finds this interesting or not.
Anyway, looks like I have some renaming to do.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement