Requesting Account History


/ Published in: Visual Basic
Save to your folder(s)

Code that is used to call history for an account (trigger account). The user will pass the specified account to this database, along with the username requesting. Once the account is passed via this code, a VB program that runs automatically every minute will find any new accounts in this database based on created date being populated, but Process_Started and Process End being null in the tblAcctHistoryTrigger table. When the program finds a new account, it will populate the Process_Started field and being inserting history records in the tblAcctHistory table. Once history insert is complete, the Process_End field will be populated. Each day, history in tblAcctHistory from the prior day will be deleted to preven old history from being used.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.