Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent/child/grand child
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00508461
Message ID:
00509679
Views:
22
>While I have come up with workarounds for the above, I prefer the extra layer of abstraction you get when you bind to an array instead of the underlying data source. In the future, I'm going to stop binding all controls directly to data and instead bind to an object properties.

Charlie,
While this is doable, it is not where I want to go VFP. Creatig an extra layer of abstraction is a good idea, especially when using remote data and it's required because who wants RVs < s >, but why not make that extra abstarction layer a temporary cursor. You can bind directly to it. Using a grid, you can navigate through the cursor directly using other controls to edit the data (or you could edit the data directly inside the grid). You don't need the extra in the navigation stuff to repopulate the object's properties. A simple call to refresh the control's data with the underlying cursor's data.

I like the idea of using intermediary cursors instead of objects. And while I'd like to take credit for it, I heard it from Kevin McNeish in one of his sessions in Orlando. VFP does data; let it, IMO.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform