Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ideas for passing records back to calling form
Message
From
18/09/2015 12:21:28
 
 
To
18/09/2015 12:08:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01624724
Message ID:
01624793
Views:
75
If you install Thor, one of the tools that comes with it is called "Object and Collection Inspector".

https://vfpx.codeplex.com/wikipage?title=Thor&referringTitle=Home
http://www.tomorrowssolutionsllc.com/Articles/Introducing%20the%20Object%20and%20Collection%20Inspector.pdf

>I noticed that the debugger did not support peeking into the collection at run time - I usually like to take a look the first time I run something to see if the data looks okay. So I had to write a bit of temp code to iterate through the collection throwing each item into an object so I could take a peek. But overall, I like the concept.
>
>Albert
>
>>>Hi Thierry,
>>>
>>>Got it all working. Thanks for pointing me to the collections object. I see using this a whole lot more in the future.
>>>
>>>Albert
>>
>>Hi Albert,
>>
>>Thanks for the feedback!
>>
>>Another good news if ever you wish to use FoxInCloud some day: FoxInCloud supports modal forms returning collections. Though I share your preference for isolated, private datasession, FoxInCloud also supports forms working in other form's datasession and/or global datasession.
>>
>>Collections (aka 'associative arrays', enumerable, etc., etc.) are very common in 'modern' languages like php or JavaScript and, like you, I tend to like them more and more, except at debug time with VFP because you can't see anything in the 'locals' window.
>>
>>Otherwise, Collections allow you to encapsulate data and related custom methods in a single place.
>>
>>I plan to create a collection wrapper around an array to emulate the JavaScript methods .join(), .map(), .detect(), etc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform