Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you execute 3 different forms from a switchboard

Status
Not open for further replies.

rumples

Technical User
Sep 6, 2004
5
US
I am having problems executing one of my forms. It looks like this:
step 1) You enter the switchboard
step 2) Click on appropiate survey to take
step 3) Disclaimer form pops up
step 4) From the disclaimer form I want the user to see the appropiate survey they clicked on from step 2. The same survey pops up for all 3 commands Hoe do you fix it?


On the form named "disclaimer" there is a command button called the btnBegin. When you click on the Begin button it should take one to the of the form disclaimer it takes me to the "frmEntrySelfAssesmentCaseManagers"
for all 3 survey's. What it should do is if I click on the OpenMemberRep or OpenOrg command it will take me to that paticular survey, instead it takes me to the OpenCaseManagers survey each time. See that code below.

Thanks

-------------
Option Compare Database

Private Sub btnBegin_Click()
DoCmd.Close
DoCmd.OpenForm "frmEntrySelfAssessmentCaseManagers"

End Sub

Private Sub btnBegin_Click()
DoCmd.Close
DoCmd.OpenForm "frmMemberRepresenativesOutreachSpecialtist"

End Sub


Private Sub btnBegin_Click()
DoCmd.Close
DoCmd.OpenForm "OrganizationalAssesmentofCulturalCompetence"

End Sub

------------------------
P.S.

The reason for three buttons going to the same form is because before they enter the survey there is a form (disclaimer that talks about what the survey is about. from the disclaimer form you click on Take Survey. That is where I am having the problem. Thanks


 
Application and Version please?


Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top