Meeting form command button

L

lorenmcguire

I have created a form that has many variables input by the user.
One of these variables is a web link. The user puts the web link in a text
box. I then have a label that all it says is "Go!". There are no other
paremetars set in the form for this label.
In code I have:

Function lblWebLink_click()
Set objtxtWebLink = g_objDetailsPage.Controls("txtWebLink")
Set objlblWebLink =
Item.GetInspector.ModifiedFormPages("Details").Controls("lblWebLink")
Set objugsWebAddress1 = Item.UserProperties.Find("ugsWebAddress1")

If objugsWebAddress1.Value = Empty Then
If objtxtWebLink.Value = Empty Then
objtxtWebLink.Value = "www.ugs.com"
End If
Else
objtxtWebLink.Value = objugsWebAddress1.Value
End If

strURL = objtxtWebLink
set objWeb = _
Application.ActiveExplorer.CommandBars.FindControl(26, 1740)
objWeb.text = strURL

End Function


The web link works as planned while the user fills out the form. The Form
is designated as a Meeting Form when it is first opened to fill out. If the
user puts in a web url into the text box, then clicks the "GO!" button, the
users Outlook pane opens the desired web page.

After the Save of the Form:

The label click does ABSOLUTELY NOTHING. NO ERROR (I currently have no
error checking in this function), NO WEB PAGE OPENS, NOTHING HAPPENS AT ALL.

Can anyone tell me why the lblWebLink_click() does not work after being
saved to the exchange server and to the personal calendar of the individual.
It does not work from either calendar (it is saved to the individual's
personal calendar on exchange and to a shared group calendar on exchange).

Thanks
 

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