tfurnivall
Registered User.
- Local time
- Today, 01:08
- Joined
- Apr 19, 2012
- Messages
- 81
I have a form with a tab control and an option group (frame).
When I built the layout of the contents of the first tab, the frame responded properly to click events. Now that I have copied them onto the tab control, the events seem to disappear.
(When I check the events for the controls, they are all still there, and selected by the Properties table).
I know it's probably one of the "doesn't use Access very much, does he" type of situations, so I'll confess my naivete, and simply ask for any ideas to get these controls working again!
Here is the Form Code listing. You'll notice it's very early on in the development process! I'm also away from home with no manuals
Any suggestions appreciated!
Tony
When I built the layout of the contents of the first tab, the frame responded properly to click events. Now that I have copied them onto the tab control, the events seem to disappear.
(When I check the events for the controls, they are all still there, and selected by the Properties table).
I know it's probably one of the "doesn't use Access very much, does he" type of situations, so I'll confess my naivete, and simply ask for any ideas to get these controls working again!
Here is the Form Code listing. You'll notice it's very early on in the development process! I'm also away from home with no manuals

Code:
Option Compare Database
Option Explicit
Sub SetSourceDescription()
If Me.frRunMode.Value = 0 Then
Me.lblSourceType.Caption = "Source for this run will be the Extract .pst file(s)"
ElseIf Me.frRunMode.Value = 1 Then
Me.lblSourceType.Caption = "Source for this run will be the Messages table"
End If
End Sub
Private Sub cmdBrowseContentFile_Click()
' Put up an OpenFile dialog, and get the name of the Content file.
MsgBox "Browse for the Content Term file"
End Sub
Private Sub cmdBrowseLocationFile_Click()
' Put up an OpenFile dialog, and get the name of the Location file.
MsgBox "Browse for the Location file"
End Sub
Private Sub cmdBrowseParticipantFile_Click()
' Put up an OpenFile dialog, and get the name of the Participant file.
MsgBox "Browse for the Participant file"
End Sub
Private Sub cmdDone_Click()
' Run the CalculateRelevancy Scores
' Form stays open, and is updated periodically.
MsgBox "Run the RelevancyCalculation process, using the appropriate source"
End Sub
Private Sub cmdExit_Click()
' Exit without running the Relevancy Score calculations
MsgBox "Exit without running the Relevancy Calculation"
End Sub
Private Sub Form_Load()
Me.frRunMode.Value = 0
Me.SetSourceDescription
End Sub
Private Sub frRunMode_Click()
Me.SetSourceDescription
End Sub
Private Sub optBuildMode_Click()
' Set the Source to be the Extract of Email messages. Clear any tables in the database
Me.lblSourceType.Caption = "Source for this run will be the Extract .pst file(s)"
'Me.optReCalculateMode.Value = False
End Sub
Private Sub optReCalculateMode_Click()
' Set the source to be the Messages table in the database. No extract files are needed
Me.lblSourceType.Caption = "Source for this run will be the Messages table in the database"
'Me.optBuildMode.Value = False
End Sub
Tony