Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace Field Values from One Cursor to Another
Message
From
18/09/2006 13:44:31
 
 
To
18/09/2006 13:41:13
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01154811
Message ID:
01154813
Views:
7
This message has been marked as the solution to the initial question of the thread.
>I have two cursors with the same field definitions.
>One I create initially with some fields blank for later user input.
>The second is a SPT cursor pulled from a previous saved data set.
>I need the user to have the option to use this previous data set to fill in the blanks on the newly initiated cursor if certain criteria is met.
>
>So if I have both cursors loaded. How can I get the field data values from a specific field in the previous cursor to the newly initiated cursor?

You can treat a cursor like any other tables. For instance
Replace yourfield with oldcursor.yourfield in yournewcursor
Previous
Reply
Map
View

Click here to load this message in the networking platform