For more on this project I am working on, please see this thread:
thread702-1610544
As best as I can summarize, I have an appplication SQL backend, linked forms front end. For each form I describe there is a normalized table behind it.
I have an events form, and a subform for event invites. I have a command button on the main events form to open a pop-up form that allows me to choose from a multi-select listbox the contacts that are being invited to an event, and set a common date that the invites are sent, etc.
I found most of this code on a sample that pbaldy had posted on his personal website in an faq. It was extremely helpful and I want to make sure he gets credit for that. I found it here:
My next step is that I need to see if I can add a section to the pop-up form for a listbox of the account managers and text box control for a notes box. Then I need to be able to take all the event invite id's that were just created from the above code and populate tblEventInvOBO with who (0 or more) that invite was on behalf of. 0 would not add any of course.
the tblEventInvOBO has the following:
PKEventInviteOBO
FKEventInvite(from the tblEventInvite table with the event id and contact id)
FKAM (from the Account managers table)
Notes (memEventInviteOBO)
So this is what gets tricky. The final code in the previous thread is going to create each of those eventinviteid's. I also need to take each of those id's and add an obo record for each am that an invite is obo.... I may only add 1 obo for all invites or 2 for all invites. Generally a bunch of invites getting added will all have the same 1 or 2 account managers inviting them (obo's). If I can get this to work, then on the main subform, the user can edit specific ones if they have something different.
I also have a post on that pop-up form, but it is an entirely different issue, so I kept them separate.
Does Make sense?
I appreciate if anyone can delve into this a bit and see if they have some thoughts on how to accomplish this.
Thanks.
Thank you.
misscrf
It is never too late to become what you could have been ~ George Eliot
thread702-1610544
As best as I can summarize, I have an appplication SQL backend, linked forms front end. For each form I describe there is a normalized table behind it.
I have an events form, and a subform for event invites. I have a command button on the main events form to open a pop-up form that allows me to choose from a multi-select listbox the contacts that are being invited to an event, and set a common date that the invites are sent, etc.
I found most of this code on a sample that pbaldy had posted on his personal website in an faq. It was extremely helpful and I want to make sure he gets credit for that. I found it here:
My next step is that I need to see if I can add a section to the pop-up form for a listbox of the account managers and text box control for a notes box. Then I need to be able to take all the event invite id's that were just created from the above code and populate tblEventInvOBO with who (0 or more) that invite was on behalf of. 0 would not add any of course.
the tblEventInvOBO has the following:
PKEventInviteOBO
FKEventInvite(from the tblEventInvite table with the event id and contact id)
FKAM (from the Account managers table)
Notes (memEventInviteOBO)
So this is what gets tricky. The final code in the previous thread is going to create each of those eventinviteid's. I also need to take each of those id's and add an obo record for each am that an invite is obo.... I may only add 1 obo for all invites or 2 for all invites. Generally a bunch of invites getting added will all have the same 1 or 2 account managers inviting them (obo's). If I can get this to work, then on the main subform, the user can edit specific ones if they have something different.
I also have a post on that pop-up form, but it is an entirely different issue, so I kept them separate.
Does Make sense?
I appreciate if anyone can delve into this a bit and see if they have some thoughts on how to accomplish this.
Thanks.
Thank you.
misscrf
It is never too late to become what you could have been ~ George Eliot