Pick contact dialog box

T

Thomas Ranstorp

Hi,
I have written some VBScript in a customized form. I want
this code to do exactly what the "Contacts..." button
does, selecting a contact and add it to the "Links", But
I want to run some other code before and after the
executions.

I can execute code after through
the "Item_PropertyChange" but not before.

It there a way to execute the contact selection dialog
box from the VBscript code.

Please help!

Regards,
/Thomas
 
T

Thomas Ranstorp

Yes, there is with this code (myButton2 is bound to the
contact-item dialog box).

sub myButton1_click()
'code before dialog box
Item.GetInspector.ModifiedFormPages
("myPage").myButton2.value = true
'code after dialog box
end sub

regards,
/Thomas
 
A

Anita Gupta

What is the value of the line of code:

Item.GetInspector.ModifiedFormPages("myPage").myButton2.value = true

?

I don't understand what this line does. My code works without this line.
Just curious.

Anita
 

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