Hi Anna,
The values in the prompt are Not based on the Joins you create in the Links tab of the Database Expert.
CR sends a 'Select Distinct..' query to the database to get the List of Values irrespective of what's in the Record Selection Formula or the Join type.
To be able to enforce the Join and Selection criteria, you would need to create a SQL query that includes both the tables (and where clause if necessary) and use fields in this SQL query (via the Add Command) as the source for the Dynamic Parameter.
Let's say you already have linked the tables in the Database Expert. Here's what you need to do next:
1) Go to the Database tab > Show SQL query > Copy the query (Make sure the query contains the required joins)
2) Go to the Database Expert > Select the Connection Name > Add Command > Paste the SQL query and click OK
3) In the Links tab, delete any Joins between the Command SQL and the tables. The Command table has to be left on its own.
4) Click OK and CR will issue a warning that a table has not been joined - that's fine.
5) Create a dynamic parameter and make sure you choose the ID and Description field from the Command table instead of the other tables.
That's it!
Let me know how this goes.
-Abhilash