I need to use the value from the Customer Number field in the current record in the WHERE clause of the SQL statement for a lookup field. The SQL is:
SELECT [Event].[Event Number], [Event].[Event Name] FROM Event WHERE [Event].[Customer Number] = <value from customer number field in current record> ORDER BY [Event Name];
What do I put in the WHERE clause in place of <value from customer number field in current record> to get the value from the Customer Number field in the current record? Thanks.