B
Bob
If someone could help I need to get the HorsesName from qryHorseList, Name
which has HorseID
and this code should only give the Base Result , latest Date
Thanks for any help......Bob
Private Sub Report_Open(Cancel As Integer)
Category.ControlSource = "='" & Form_frmMain.cbCategory & "'"
Me.RecordSource = "SELECT tblRemarks.dtDate, tblHorseInfo.HorseName,
tblRemarks.Category,tblRemarks.Remark " _
& " FROM tblRemarks INNER JOIN tblHorseInfo ON tblRemarks.HorseID =
tblHorseInfo.HorseID " _
& " Where Category='" & Form_frmMain.cbCategory & "'" _
& " ORDER BY tblRemarks.dtDate DESC; "
End Sub
which has HorseID
and this code should only give the Base Result , latest Date
Thanks for any help......Bob
Private Sub Report_Open(Cancel As Integer)
Category.ControlSource = "='" & Form_frmMain.cbCategory & "'"
Me.RecordSource = "SELECT tblRemarks.dtDate, tblHorseInfo.HorseName,
tblRemarks.Category,tblRemarks.Remark " _
& " FROM tblRemarks INNER JOIN tblHorseInfo ON tblRemarks.HorseID =
tblHorseInfo.HorseID " _
& " Where Category='" & Form_frmMain.cbCategory & "'" _
& " ORDER BY tblRemarks.dtDate DESC; "
End Sub