Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ideas for passing records back to calling form
Message
From
22/09/2015 09:32:12
 
 
To
22/09/2015 09:18:20
Mike Yearwood
Toronto, Ontario, Canada
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:
01624912
Views:
82
>Wow. How about doing nothing and getting the best speed? Have the called form adopt the data session of the calling form. 3 lines of code. Talk about overkill and waste.
>

Hi Mike:

He can do that, obviously, but I prefer to suggest in the line of encapsulation and separation of concerns, because having a private datasession for later changing datasessions for me is like having local variables but having a special method to read them from outer modules, this breaks the encapsulation.

But this is my personal point of view, and every developer can use what think it's better for him/her.
Fernando D. Bozzo
Madrid / Spain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform