My apologies on in advance for using an existing thread but I thought it would be best rather than start a new on.
I have used Bob's code but I get the following error message;
Runtime error
Syntax error (missing operator) in query expression '[lngSalesOrderID]=".
Here is the code I am...