direct user to specific page of a switchboard

this is beginning to be a headache for me lol.

... I presume you are using A2007 or A2010 - which probably explains why you can't see any code.
yes i am using 2010

Maybe one way is to add another switchboard option - and open the switchboard in code with an openargs value. (ie a value other than than the standard actions 1 to 6 (I think its 1 to 6 offhand)
you lost me on that one dave.

I am not familiar with the way the macros work in these switchboards, though. Is there no code module at all? Can you see what the handlebuttonclick macro is doing?

there is no code at all, strictly macros and i see nothing named 'handlebuttonclick' macro.

Another way might be to open a single form, with the 5 options on it hard coded to buttons, and not open the switchboard normally until you close this special form.
do you mean buttons for the 5 reports that i am trying to direct the user to?

i am so lost and i dont know what to do!
 
I know this is a really old post, but I found it while I was looking for a solution to the exact same problem. I have a client who refuses to move on from 2010 and found myself dealing with this. Here's what I did to get it to work.

go to on_open, it should say [embedded macro] open the macro window and change the expression under "SetTempVar"

I used this : DLookUp("SwitchboardID","Switchboard Items"," [SwitchboardID] = 5 AND [ItemNumber] = 0 ")

when it previously had this: DLookUp("SwitchboardID","Switchboard Items","[ItemNumber] = 0 AND [Argument] = 'Default'")

My specific SwitchboardID I wanted it direct to was 5, and it worked perfectly...very simple fix for a problem I spent hours on.

I hope this helps anyone else who stumbles upon this problem and into this forum as I did. And thanks to the person who mentioned checking the on_open, I hadn't even thought to look there!
 

Users who are viewing this thread

Back
Top Bottom