sbbrown9924
Technical User
In a repeat region whenever there is a match of string text from one table compared with another, then I would like to set the background of one of the table cells. Something like...
<td background="<%IF {a match exists between strings} Then Response.Write("/images/blinking.gif")%>"> </td>
I have this query that compares strings from two different tables. How would it be indicated that a match exists in this query? Thanks.
The comparison query is:
SELECT TrackingMain.LastName, TrackingMain.FirstName, TrackingMain.Age, TrackingMain.Sex, FrequentVisitors.LastName, FrequentVisitors.FirstName, FrequentVisitors.Age, FrequentVisitors.Sex
FROM [c:\Inetpub\databases\Tracking.mdb].TrackingMain, [c:\Inetpub\databases\FrequentVisitors.mdb].FrequentVisitors WHERE FrequentVisitors.Lastname=TrackingMain.LastName AND left(FrequentVisitors.Firstname,4)=left(TrackingMain.Firstname,4) AND FrequentVisitors.Sex=TrackingMain.Sex AND ((FrequentVisitors.Age=TrackingMain.Age) OR (FrequentVisitors.Age=TrackingMain.Age+1))
<td background="<%IF {a match exists between strings} Then Response.Write("/images/blinking.gif")%>"> </td>
I have this query that compares strings from two different tables. How would it be indicated that a match exists in this query? Thanks.
The comparison query is:
SELECT TrackingMain.LastName, TrackingMain.FirstName, TrackingMain.Age, TrackingMain.Sex, FrequentVisitors.LastName, FrequentVisitors.FirstName, FrequentVisitors.Age, FrequentVisitors.Sex
FROM [c:\Inetpub\databases\Tracking.mdb].TrackingMain, [c:\Inetpub\databases\FrequentVisitors.mdb].FrequentVisitors WHERE FrequentVisitors.Lastname=TrackingMain.LastName AND left(FrequentVisitors.Firstname,4)=left(TrackingMain.Firstname,4) AND FrequentVisitors.Sex=TrackingMain.Sex AND ((FrequentVisitors.Age=TrackingMain.Age) OR (FrequentVisitors.Age=TrackingMain.Age+1))