Hello,
I have two tables tblProgrammeTimeslot and tblProgramme
tblProgrammeTimeslot : ProgID, tSlotID
record e.g ProgID=278, TslotId=2550
tblProgramme : ProgrammeID, Mon, Tue, Wed, Thu, Fri, Sat, Sun
record e.g ProgID=278, Mon=2550, Tue=112,Wed=0,Thu=560,Fri=0,Sat=100,Sun=0
I'm trying to write a trigger on tblProgrammeTimeslot so that when i delete the example record 'ProgID=278, TslotId=2550', the trigger looks up record 278 in tblProgramme and updates Mon=0.
As you cannot use parameters trigger's i have no idea how to do this.
Any help would be greatly appreciated
Thanks

I have two tables tblProgrammeTimeslot and tblProgramme
tblProgrammeTimeslot : ProgID, tSlotID
record e.g ProgID=278, TslotId=2550
tblProgramme : ProgrammeID, Mon, Tue, Wed, Thu, Fri, Sat, Sun
record e.g ProgID=278, Mon=2550, Tue=112,Wed=0,Thu=560,Fri=0,Sat=100,Sun=0
I'm trying to write a trigger on tblProgrammeTimeslot so that when i delete the example record 'ProgID=278, TslotId=2550', the trigger looks up record 278 in tblProgramme and updates Mon=0.
As you cannot use parameters trigger's i have no idea how to do this.
Any help would be greatly appreciated
Thanks