The database containes several tables, linked by other tables in the same database.
for example:
table 1 containes films + details, primary key is the filmnumber
table 2 containes filmnumber, personalnumber, functionnumber
table 3 containes data about a person, primary key is personalnumber
Several persons can have the same function with a film.
Connection 1 would be for selecting all personalnumbers with a function in a certain film
connection 2 would be for selecting the data for each person in the results of connection 1.
I had thought this would be the easiest way to get the results i want, instead of storing the results of connection 1 in a temporary variable.
Peter