Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copying records from one table to another

Status
Not open for further replies.

Samalia

Technical User
Jun 7, 2005
46
CA
I have this temporary table that I dump records into that meet specific conditions, and I pull them from another table. I take them from my main table, and put them into my temp table, the records are all within a week of the date that the user selects. The problem I have is that when the records are copied into the temp table, the records in the main table that are marked for deletion are copied as well. Is there any way to stop this from happening?
 
If you use the APPEND FROM command I think deleted records will be appended regardless of the SET DELETED setting. Try:

APPEND FROM .... FOR NOT DELETED()

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top