J
Jeff
This is my current query. I am getting back all matches when the two
fields are equal (or one contains the other). (e.g. Swim gives me City
Swim, Swim Party, etc.) I would now like to just get the first
occurrence where this happens. (so Swim would only give me City
Swim.)
SELECT [Participation ACE Convert Query].[Member ID], [Participation
ACE Convert Query].[First Name], [Participation ACE Convert Query].
[Last Name], [Participation ACE Convert Query].Program, [Last Name],
[Participation ACE Convert Query].OutingName, [Participation ACE
Convert Query].Volhours, [Participation ACE Convert Query].Baseline,
[Participation ACE Convert Query].NumberChecked, [Participation ACE
Convert Query].LifeSkill, [Participation ACE Convert
Query].StaffComment, Outings.EventID
FROM Outings INNER JOIN [Participation ACE Convert Query] ON
([Participation ACE Convert Query].OutingName Like "*" &
Outings.EventName & "*") AND (Outings.ProgramID Like "*" &
[Participation ACE Convert Query].Program & "*");
What would I need to change about this query to do that?
Thanks!
Jeff
fields are equal (or one contains the other). (e.g. Swim gives me City
Swim, Swim Party, etc.) I would now like to just get the first
occurrence where this happens. (so Swim would only give me City
Swim.)
SELECT [Participation ACE Convert Query].[Member ID], [Participation
ACE Convert Query].[First Name], [Participation ACE Convert Query].
[Last Name], [Participation ACE Convert Query].Program, [Last Name],
[Participation ACE Convert Query].OutingName, [Participation ACE
Convert Query].Volhours, [Participation ACE Convert Query].Baseline,
[Participation ACE Convert Query].NumberChecked, [Participation ACE
Convert Query].LifeSkill, [Participation ACE Convert
Query].StaffComment, Outings.EventID
FROM Outings INNER JOIN [Participation ACE Convert Query] ON
([Participation ACE Convert Query].OutingName Like "*" &
Outings.EventName & "*") AND (Outings.ProgramID Like "*" &
[Participation ACE Convert Query].Program & "*");
What would I need to change about this query to do that?
Thanks!
Jeff