>I am looking for a way to get the names of all objects in the data environment programmatically and store them to an array.
Use Amembers() to populate an array using THISFORM.DataEnvironment as the specified object to query. You could pass in 2 as the third parameter to only get object names. Otherwise, you would have to parse all PEMs to only get the objects.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao