12 Replies Latest reply: Apr 12, 2012 8:18 AM by Amatu Allah Neveen Ebrahim RSS

    post query trigger - the correct trigger?

    789736
      Hi guys, ive got a bit of code that loops through all the records in a block and counts up all those where a certain field has a vlalue of yes and then enables or disabled a button if there is more than 2 records with a status of yes. However, i am not sure where to put this code. If i put it on the postquery trigger it is going to fire after every record is brought back but I only want to do this piece of code when the complete query is complete and all rows have been returned. Is this possible and if so what trigger should I use for it?

      Thanks in advance for any help I may recieve.