Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a duplicate record
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Create a duplicate record
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00980488
Message ID:
00980488
Views:
52
how do I create a duplicate record in a table. The table does have memo fields. Also this table has a default value that creates a primary key (for example nextid("fscgnt_tbl"). I also need to modify one field while duplicating the record. I thought about selecting the record into a cursor, then modifying the single field and then writing it out, but I also have a child table where where I may need to gather several records at a time and need a single field changed on those records. I don't know if scan...endscan is best way to go about or is there another more efficient technique?

thanks
Nick
Next
Reply
Map
View

Click here to load this message in the networking platform