Ok,
I have a query that pulls data from various tables, what I want to be able to do is when the query is displayed, add an additional field to the end of the result based on information stored in other fields.
E.g.
Query field headings:
Name, Favourite Number, Favourite Colour, Show me, “5th column result”
The 5th column needs to do the calculation e.g.:
if [Show me] = “yes” then equal “[Name] [Favourite Number]+5 [Favourite Colour]”
So with some data:
Name, Favourite Number, Favourite Colour, Show me, “5th column result”
Dave, 10, Blue, Yes, Dave 15 Blue,
Mark, 4, Yellow, No,,
Sounds easy but I can’t get me head round it!
Many thanks in advance
Matt
I have a query that pulls data from various tables, what I want to be able to do is when the query is displayed, add an additional field to the end of the result based on information stored in other fields.
E.g.
Query field headings:
Name, Favourite Number, Favourite Colour, Show me, “5th column result”
The 5th column needs to do the calculation e.g.:
if [Show me] = “yes” then equal “[Name] [Favourite Number]+5 [Favourite Colour]”
So with some data:
Name, Favourite Number, Favourite Colour, Show me, “5th column result”
Dave, 10, Blue, Yes, Dave 15 Blue,
Mark, 4, Yellow, No,,
Sounds easy but I can’t get me head round it!
Many thanks in advance
Matt