linkcriteria = "[CustomerId]= '" & Me![cs] & "'"
DoCmd.OpenReport "AllCustomersOrders", acPreview, , lincriteria
USed your code - thanks for the correct syntax - i dont get an error - however the filtering doesnt work. I get every record rather than filtered by the Customer Id
Any ideas