Cheryl McLaughlin-385812 (10/11/2012)
It works too a point, but it pulls all the records. If I substitute @Ord_Nbr ='12345' the script still pulls all the records and not the record that is = to '12345'
This makes me think that the problem lies elsewhere. Perhaps in an OR section of her WHERE clause.
__________________________________________________
Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills