Question : SQL Insert trigger if one field is changed

I have a need to insert a record into a table named psHistory ONLY if a field named liUserField5 (in table LineItem) is modified.

I've been successful at creating the trigger, but it always inserts into psHistory, even if the user modifies liUserField6 or something.  I need it to only insert into psHistory when liUserField5 is modified.

I'm taking a vacation day on Friday so I won't be able to check the answer until Monday.  However, I will most certainly check then!

Thanks in advance
jr

Answer : SQL Insert trigger if one field is changed

MACRO!!!!

That's the way. Select your sheets, then run this macro.

Thomas
1:
2:
3:
4:
5:
6:
7:
8:
9:
Sub ungrouprows()
Dim sht As Worksheet
On Error Resume Next

For Each sht In ActiveWindow.SelectedSheets
    sht.Rows("21:26").Ungroup
    sht.Rows("21:24").Group
Next
End Sub
Random Solutions  
 
programming4us programming4us