I have a report in which the user enters a License Number. That lic number is a string field. The table I reference in my select statement does have a primary key but it is not the same number that the user is entering as the license number. The user will not know what the lickey number is but I want to increase report optimization. I need to find a way to let the user enter the license number and go out and find the lickey and use that in the record selection so that the server is performing the work. Does anyone know how to do this? I am thinking it should be a sql expression but I am not familiar with how to write the code. Thanks in advance,