I have entered the following string:
SELECT [Latest Record Query].[MaxOfPrimary ID], [Job Static Data].[Pallet
ID] AS [Ind Pallet ID], [Job Static Data].[Customer Code], [Job Static
Data].Reference, [Job Static Data].[Item Number], [Job Static Data].[Pallet
Quantity], [Job Variable Data].Location, [Job Variable Data].[User ID], [Job
Variable Data].[Date/Time], [Job Variable Data].Update, Left([Ind Pallet
ID],5) AS [Pallet No]
FROM [Job Static Data] INNER JOIN ([Latest Record Query] INNER JOIN [Job
Variable Data] ON [Latest Record Query].[MaxOfPrimary ID] = [Job Variable
Data].[Primary ID]) ON [Job Static Data].[Pallet ID] = [Job Variable
Data].[Pallet ID]
WHERE ((([Job Variable Data].Update)=2));
SELECT Mid([Job Static Data].[Pallet ID], InStr(1, [Job Static Data].[Pallet
ID], "$") + 1)
AS [Pallet Number]
FROM [Job Static Data]
From the 2nd 'SELECT' is where I have added the string that you gave me.
It comes up with an error that says 'Characters found after end of SQL
statement'.
I am not confident a SQL query, so apologies if this is simple stuff....