Products A-Z All Services Can't find what you're looking for? Chat Live!
Products A-Z Can't find what you're looking for? Chat Live!
Can't find what you're looking for? Chat Live!
Hi ... Has anyone tried to use the REApplication object and specifically writing code for the UIOpening and UIClosing events ? The vba documentation (admittedly limitted) suggests that VB code can be written to execute code when the user starts up a Raisers Edge session. I would like to take advantage of this, but do not have any examples for the event subroutine calls.
Thx Nigel
It is possible to access these events by in the VBA environment, under the system project, going to RE7 objects and selecting REApplication. Then in the code window select REApplication and by default the event:
Private Sub REApplication_UIClosing(bCancel As Boolean)End Sub
appears. You can select the UIOpening one from the drop down. These will then fire on opening and closing of RE
David
Thanks David,
Yes, I managed to successfully use both the UIOpening and UIClosing. In our particular application, I have used the UIOpening to identify the database we are working against (non-production, live, etc.).
Thanks