We are a group of users of Blackbaud products and are not affiliated with Blackbaud. We'd love to have you join our community to help and be helped in getting the most from your Blackbaud software.
Register now to join us to get independant advice on your system, connect with 3rd party consultants to help you maximize your database and have a real alternative to the official Blackbaud website.
I was wondering if there is some code that allows a user to click 'OK' after a prompt and then default to the area they need to fix? I have a msgbox that pops up and informs users to put the proper const. code in the bio2 tab. I then need it to default to that tab. Any suggestions would be greatly appreciated.
Thanks,
Rachel A. McKinney
Center on Philanthropy at IUPUI.
One way that I have done this previously only works where there are separate windows for the objects. For example at one time we wanted to make a field on the proposal screen mandatory is a proposal is added (this could not be done through the standard RE config). This is easy enough but the hard part would be to show them what to enter. When they were informed that the field value was missingI showed an instance of the proposal window (CProposalForm) populated with the data that they had entered.
This works for areas of the record that have their own window but not for constituent codes. What I have also done is to use sendkeys to send certain key strokes to the constituent window. This moves you to the bio2 tab and then to the constituent code table. This may sound a crude method but in fact it tends to work quite well.
That is what I am talking about doing. In the Before_Save event, after the user is prompted with a message box saying that there is missing info, the code then invokes either the sendkeys method or shows the form (depending on your chosen solution from above).