Concatenation simple?
For the sake of simplicity i have two tables: members and countries. The table countries consists of two fields: code, countryname. For each member in the table members there is a field countrycode. It contains the code (a number) but displays the countryname. This is aranged bij the lookup function. There are no forms.
Now I want to make a query on the table members that also has an expression field wich should give as result: lives in ... (where ... is the countryname)
When I make the expression (a simple concatenation): "lives in " & [members]![countrycode]
the result is (for example): lives in 1
so the expression gives the codevalue instead of the lookup value.
What should I do?
For the sake of simplicity i have two tables: members and countries. The table countries consists of two fields: code, countryname. For each member in the table members there is a field countrycode. It contains the code (a number) but displays the countryname. This is aranged bij the lookup function. There are no forms.
Now I want to make a query on the table members that also has an expression field wich should give as result: lives in ... (where ... is the countryname)
When I make the expression (a simple concatenation): "lives in " & [members]![countrycode]
the result is (for example): lives in 1
so the expression gives the codevalue instead of the lookup value.
What should I do?