Need direction for VBScript

S

Scott Smith

I have customized the Outlook contact form including an added page
called 'Marketing' for tracking calls, mailings, etc.

I've added a 'Make Call' button that I would like to have the
following functionality:
- Dial contact (used a 3rd-party prog, as I could not find a way to
invoke Windows component)
- Open window (new journal item or simple user form containing a text
box) for taking notes
- Upon ending call, create journal item linked to contact containing
notes, date, etc. for tracking. Also, update contact user properties
for "Last Call" and "Next Call"

I can figure out most of this. What I'm stuck on is the notes
section. Since the final product will be a journal entry, I could
invoke a journal item. As I understand it however, in order to end up
with a linked journal item, I need to save the item before I create
the link. However, if the call does not go thru, or the contact is
not in the office, I don't want to save a journal entry.

What am I missing? Can I use a simple form like I mentioned before?
Or is there a way around saving journal entries that I may not want?

I hope this is understandable!

Thanks!
 
E

Eric Legault [MVP - Outlook]

I don't see anything technically wrong with what you are trying to do, but
I'm having trouble understanding the logic of your solution. The way I see
it, your new Journal entry that is launched when a call is made should only
be saved when the call is ended. If the call is cancelled or the user
doesn't save, don't call the Save method on that item.

Does this make sense for your solution?
 
S

Scott Smith

Thanks for your reply Eric. Right or wrong, I think I have found a
solution.

To answer your question though, isn't it necessary to save the journal
item before I can link it to a contact? Maybe I'm not understanding
the process correctly.
 
E

Eric Legault [MVP - Outlook]

No, you don't have to save it first. Contacts can be added to the Links
collection for an Outlook Item before the item is saved.

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault


Scott Smith said:
Thanks for your reply Eric. Right or wrong, I think I have found a
solution.

To answer your question though, isn't it necessary to save the journal
item before I can link it to a contact? Maybe I'm not understanding
the process correctly.




"Eric Legault [MVP - Outlook]" <[email protected]> wrote in
message news: said:
I don't see anything technically wrong with what you are trying to do, but
I'm having trouble understanding the logic of your solution. The way I see
it, your new Journal entry that is launched when a call is made should only
be saved when the call is ended. If the call is cancelled or the user
doesn't save, don't call the Save method on that item.

Does this make sense for your solution?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top