Results 1 to 2 of 2

Thread: calling triggers from vb

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Posts
    1

    Question calling triggers from vb

    How to call triggers from vb code?

  2. #2
    Frenzied Member PilgrimPete's Avatar
    Join Date
    Feb 2002
    Posts
    1,313
    Do you mean database triggers?
    If so, I don't think you can call them from code - they get triggered automatically by the RDBMS when you perform an Insert, Update, Delete on a table.

    If you want to be able to reuse the functionality, what you could do is take the functionality out of the trigger and put it into a stored procedure. Then you can call the SP from the trigger and the application...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width