Hi,

Try:

= "{Component.ComponentNumber} = " & Number

Where Number is a variable and the its value is what you are passing to the report.

The way that you have it, is like saying "Select all records from Component where the component number equals number"

Unless this is what you want to say

HTH,

Preeti