bs0d
Well-known Member
- Joined
- Dec 29, 2006
- Messages
- 622
I'm building a query in MS Access.
I have a time series of data (table 'A'), and comments with dates in a separate table (table 'B'). I have built a query to show data for an item, and the comments from Table B on the appropriate date where a matching item ID is found.
Is it possible for me to put in the max value of a given field from table 'A' at each point where a comment is currently shown from table B in the query?
I was thinking you could use replace(), but it's getting an error. I tried:
I have a time series of data (table 'A'), and comments with dates in a separate table (table 'B'). I have built a query to show data for an item, and the comments from Table B on the appropriate date where a matching item ID is found.
Is it possible for me to put in the max value of a given field from table 'A' at each point where a comment is currently shown from table B in the query?
I was thinking you could use replace(), but it's getting an error. I tried:
Code:
Expr1: Replace([table_b].[comment], "*", Max([table_a].[field]))