Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Incident Reports » Incident Reports Addressed for Version 1.09 » View Incident Report |
Serious |
Reported By: Jim Garrity Reported On: 4/14/2008 For: Version 1.09 Build 1 |
create trigger trigUpdateFlags After Update of Residence, Mailing, Billing, Shipping ON Address BEGIN DECLARE AddressCursor CURSOR for Stmt; DECLARE Res bool DEFAULT false; PREPARE Stmt FROM 'SELECT * FROM Address where Owner_ID = ? and Owner_Type = ?'; OPEN AddressCursor using OldRow.Owner_ID, OldRow.Owner_Type; FETCH FIRST FROM AddressCursor (Residence) INTO Res; WHILE NOT EOF(AddressCursor) DO IF (Res=true) THEN UPDATE AddressCursor SET Residence=false; END IF; FETCH NEXT FROM AddressCursor (Residence) INTO Res; END WHILE; END
This web page was last updated on Wednesday, March 20, 2024 at 07:22 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |