Private Sub cmdFindBendingProgram_Click
If tglHelp is pressed Then
MsgBox "Find a bending program and load it into the working memory"
Exit Sub
End If
Code for cmdFindBendingProgram here
End Sub
DoCmd.OpenForm "Help", , , , , , "C:\Users\Gary\OneDrive\Work\Central Database\Help\students.htm"
If Not IsNull(Me.OpenArgs) Then
Me.WebBrowser2.ControlSource = Me.OpenArgs
Else
' if no value in OpenArgs open help's index file
Me.WebBrowser2.ControlSource = "C:\Users\Gary\OneDrive\Work\Central Database\Help\index.htm"
End If
DoCmd.OpenForm "Help", acNormal, , , , acNormal, "Students.htm"
Me.WebBrowser0.ControlSource = "='TheDriveAndPathToTheOpenArgsFile[COLOR=Red][B]\[/B][/COLOR]" & Me.OpenArgs & "'"
An example, if the OpenArgs file was on c drive in directory MyHelpFile
Me.WebBrowser0.ControlSource = "='C:\MyHelpFile[COLOR=Red][B]\[/B][/COLOR]" & Me.OpenArgs & "'"