Hi again guys,
I have another small issue with this form. I used vbaInet's code to open the form chosen in the drop down list as follows:
Dim stDocName As String
Dim stLinkCriteria As String
If cboPMMForms.ListIndex > -1 Then
DoCmd.OpenForm cboPMMForms.Value
End If
Now the problem that I have here is that the items listed in my drop down list must have the same name as the form I wish to open. For instance, the list will give the user 3 choices : Form1, Form2, Form3. Once a choice is made and the button is pressed the form with the same same as the selected one will open.
The problem I have is that since I use normalized names i.e. frmPMM1, frmPMM2, frmPMM3, etc. I would like the user to see the title of the form instead of it's filename i.e. "Monthly business form, Monthly call form, monthly diagnostics form, etc."
Right now the information is pulled from a table that has 3 fields : #1 : FormID (autonumber, primary key) #2 FormName (actual filename for the form "form1, form2, etc.", #3 FormTitle "Monthly business form, etc."
I thought it would be as simple as telling the code to chech the information in column 2 with something like this :
cboPMMForms.Value(2)
but that didn't work.
Any ideas?