Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save an array ... into an array or collection
Message
From
11/02/2011 04:03:01
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
10/02/2011 20:49:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01499709
Message ID:
01499727
Views:
76
>I have the following problem.
>
>I have a small cursor for which I want to provide the capability to revert to an earlier version.
>
>Thus, each time I make a change to it, I want to take a snapshot of it, so that I can go back to that snapshot if necessary.
>
>Now, I can select from the cursor into an array (to take the snapshot), and I can append from array to go back to that snapshot if desired.
>
>But, how do I store those arrays that are created each time I make a change? I thought of having a collection, but I don't know how to save an array into a collection. I thought of an array, but I can't save an array as an element in an array?
>
>Any suggestions?

Save laYourArray to memo, in a cursor where you have one record for each snapshot.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform