-
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
How can I access all objects in the root folder with FPScript?
- This topic has 4 replies, 3 voices, and was last updated 21 years, 3 months ago by Richard Weisang.
-
AuthorPosts
-
August 7, 2003 at 7:40 pm #12546Richard WeisangKeymaster
I need to access multiple datasets in the root folder of the explorer dynamically.
August 7, 2003 at 7:54 pm #8880Bernhard 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”:
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
September 12, 2003 at 11:29 pm #8881g.foidl@jenbacher.comParticipantHello!
How can I proceed in the same way in FlexPro Version 5?
September 18, 2003 at 8:29 am #8209Richard WeisangKeymasterI need to access multiple datasets in the root folder of the explorer dynamically.
September 18, 2003 at 8:29 am #8882Bernhard KantzParticipantThis is not possible in FlexPro 5. This functionality was introduced in FlexPro 6.
Support
support@weisang.com -
AuthorPosts
- You must be logged in to reply to this topic.