Topic
How can I access all objects in the root folder with FPScript?
Page d'accueil ' Communauté ' FPScript ' Comment puis-je accéder à tous les objets du dossier racine avec FPScript ?
- Ce sujet contient 4 réponses, 3 participants et a été mis à jour pour la dernière fois par Richard Weisang, le il y a 21 années et 9 mois.
-
AuteurMessages
-
07.08.2003 à 19:40 #33441Richard WeisangMaître des clés
I need to access multiple datasets in the root folder of the explorer dynamically.
07.08.2003 à 19:54 #33438Bernhard KantzParticipantThere is a property names “ObjectNames” to obtain the names of objects in a folder. Optionally this property accepts “wildcard” characters to restrict the object to be addressed.
The syntax to access the root folder is “.fld”. Once you have the list of object names, you can use the indirection operator $$ to access the objects.The following example computes the global maximum of all datasets beginning with “data”:
[code]
Dim names, max, globalmax, inames = .Fld.ObjectNames(“Data*”)
For Each Value i In names Do
max = Maximum($names[i]$)
If DataType(globalmax) == TYPE_EMPTY Or max > globalmax then
globalmax = max
End
Endglobalmax
[/code]12.09.2003 à 23:29 #33439g.foidl@jenbacher.comParticipantHello!
How can I proceed in the same way in FlexPro Version 5?
18.09.2003 à 08:29 #33437Richard WeisangMaître des clésI need to access multiple datasets in the root folder of the explorer dynamically.
18.09.2003 à 08:29 #33440Bernhard KantzParticipantThis is not possible in FlexPro 5. This functionality was introduced in FlexPro 6.
Support
support@weisang.com -
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.