-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > FPScript > How can I access all objects in the root folder with FPScript? > Reply To: How can I access all objects in the root folder with FPScript?

There 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”:
Dim names, max, globalmax, i
names = .Fld.ObjectNames("Data*")
For Each Value i In names Do
max = Maximum($names$)
If DataType(globalmax) == TYPE_EMPTY Or max > globalmax then
globalmax = max
End
End
globalmax
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information