Report Procedure Question

I've created a procedure that prints out a report with the job information.

The procedure prompts the user for the job # , Asm # and operation #. It has the ability to enter in 4 different job # 's which would give the user 4 different reports.

The report filter needs the job, asm and operation number for each report. The problem I am having is that I have to fill out all 4 spots when I get prompted for the information. If I don't I get an error. Sometimes I only have 1 or 2 jobs to check.

Here is my filter in the procedure. What am I doing wrong in the procedure that makes the filter require all 4 spots?
*****************************************************************************
rb-filter-value = "JOBASMBL.COMPANY = " + "'" + "LOC" + "'" +

" And " + "(" + "JOBASMBL.JOBNUM = " + "'" + job1 + "'" +

" And JOBASMBL.ASSEMBLYSEQ = " + Asm1 +

" And JOBOPER.OPRSEQ = " + operation1 + ")" +



" OR " + "(" + "JOBASMBL.JOBNUM = " + "'" + job2 + "'" +

" And JOBASMBL.ASSEMBLYSEQ = " + Asm2 +

" And JOBOPER.OPRSEQ = " + operation2 + ")" +



" OR " + "(" + "JOBASMBL.JOBNUM = " + "'" + job3 + "'" +

" And JOBASMBL.ASSEMBLYSEQ = " + Asm3 +

" And JOBOPER.OPRSEQ = " + operation3 + ")" +



" OR " + "(" + "JOBASMBL.JOBNUM = " + "'" + job4 + "'" +

" And JOBASMBL.ASSEMBLYSEQ = " + Asm4 +

" And JOBOPER.OPRSEQ = " + operation4 + ")".

**************************************************************

Thanks,

Jasper




[Non-text portions of this message have been removed]