Topic
How can I access all objects in the root folder with FPScript?
Startseite ' Community ' FPScript ' How can I access all objects in the root folder with FPScript?
- Dieses Thema hat 4 Antworten sowie 3 Teilnehmer und wurde zuletzt vor vor 21 Jahren, 9 Monaten von Richard Weisang aktualisiert.
-
AutorBeiträge
-
07.08.2003 um 19:40 Uhr #33441Richard WeisangAdministrator
I need to access multiple datasets in the root folder of the explorer dynamically.
07.08.2003 um 19:54 Uhr #33438Bernhard KantzTeilnehmerThere 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 um 23:29 Uhr #33439g.foidl@jenbacher.comTeilnehmerHello!
How can I proceed in the same way in FlexPro Version 5?
18.09.2003 um 08:29 Uhr #33437Richard WeisangAdministratorI need to access multiple datasets in the root folder of the explorer dynamically.
18.09.2003 um 08:29 Uhr #33440Bernhard KantzTeilnehmerThis is not possible in FlexPro 5. This functionality was introduced in FlexPro 6.
Support
support@weisang.com -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.