Hi!
I am looking for some help. I have two forms. Program Scoring and ProjectScoringReport.
I'm trying to double click on a date field in Program Scoring, to open ProjectScoringReport, to display a particular record.
I basically need to conditions set, in order to open the form.
The two fields from Program Scoring are Program_Name and Launch.
When I click on the field named Launch, I need ProjectScoringReport to open with it's two fields, Program_Name and End_Date to be equal.
Basically, it's something like:
Private Sub Launch_DblClick(Cancel As Integer)
DoCmd.OpenForm "ProjectScoringReport", _
WhereCondition:="Program_Name=" & Me.Program_Name And "End Date =" & Me.Launch
End Sub
I'm getting runtime error Type Mismatch, when I do this. However, both fields are formatted as text (Program_Name) and End_Date and Launch are both formatted as Date fields...
Not sure why I'm getting this error, so assumed I jacked something up in my language. Thanks for you assistance, as always!!!!!