Problem w/hourglass in OnClick event of Switchboard

C

Cathi

I can not seem to get an hourglass to work when an item is selected from the switchboard. The switchboard was created using the switchboard manager; I have a few forms that take a bit to open and would like to add an hourglass to the onclick event. Am I adding the code in the wrong place, or is it just not possible when using the switchboard manager's code

Here is the slice of code where I "think" the docmd.hourglass true statement should appear. Any suggestions or help on this would be greatly appreciated - at this point I am about bald :-

Private Function HandleButtonClick(intBtn As Integer
....... ' Run code
Case conCmdRunCod
'Application.Run rs![Argument
DoCmd.Hourglass Tru
Dim strArg As Strin
strArg = Trim("" & rs![Argument]
intNumOfDelimitedArgs = xg_CountDelimitedStrings(strArg, ";"
Select Case intNumOfDelimitedArg
Case
Application.Run strAr
Case
Application.Run xg_GetSubString(strArg, 1, ";"),
xg_GetSubString(strArg, 2, ";")
 

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