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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CURSOR/INSERT HELP!

Status
Not open for further replies.

mbrent

Programmer
Dec 18, 2001
20
US
Background: I have two tables. One is listed tabular on the canvas. For each record on this table that is changed, I want to insert a new record into the other table with the changed data from this table.

Ok, I was told to use a cursor to look at each record in table one and insert a new record into table two after each one.

I don't know if this is the correct way to go about this. I am terribly confused and cannot find a helpful example anywhere. I would appreciate any advise/help I can get.

Thanks!
 
Create post-update trigger on the first block.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top