1. Home
  2. Computing & Technology
  3. Databases
photo of Mike Chapple
Mike's Databases Blog

By Mike Chapple, About.com Guide to Databases since 2000

Conditional Triggers

Sunday July 6, 2008
In a recent forum posting, Mustafa wrote:

"I have a checkbox and button on my form and a Trigger(for insert) on one of my database tables called Table1. If I click the button, some text is inserted into Table1 and trigger is always invoked. I want the trigger be invoked only if the checkbox is checked. However, I dont know how to tell the trigger to invoke only when the checkbox is checked.

Can anybody please help?"

Can you help Mustafa? Interested in solutions to the same problem? Visit our forum and join the discussion!
Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Databases
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Databases

©2009 About.com, a part of The New York Times Company.

All rights reserved.