Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array manipulation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00823913
Message ID:
00824222
Views:
17
Charles,

I got one that does just that for VFE. All you do is set the cField property of the mover. Moving items adds records to the cursor. The choices are filled from the specified lookup cursor for the display field.

I also have some custom stuff in my iField which automatically populates same-named and structured fields from the lookup cursor into the main cursor. That might also be necessary for it to grab other fields from the lookup cursor. Don't remember if I built that directly into the mover or not.

Let me know if you want it.

So, business slow? What you you doing creating stuff from scratch rather than just steal.. er .. borrowing stuff?


>I am using a mover based on 2 dimensional arrays. (a display value and an underlying pk)
>
>I go into the mover with two arrays - achoices and aselected.
>
>at the end of the mover I would like to know which items are newly added to the right side and which items have been moved back to the unselected side. (the purpose of all this ulimately is to add and remove records in a child cursor based on these choices. )
>
>I can kludge my way through this with a lot of inelegant approaches but I was hoping some wizard of arrays knows an easy trick that would be an elegant solution.
>
>My orginal thought is to keep a copy of both arrays before the mover changes them, and to compare the modified arrays with the original arrays - and here is where the elegant approach escapes me.
>
>?
>
>
>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform