I'm trying to create a form where the user could type in the info they want(for instance account number), query the database and open another form showing the results of the query. Do i set up the recordsource in the form i'm opening or in the click button on the main form?