Hi.
I would like to be able to create on-the-fly tables using the users ID (from Windows) plus a constant. However I cannot work outCan anyone help please?
- how to get the user name
- how to use this within SQL.
The query looks like
SELECT * INTO (user_name & constant)
FROM [Employee Numbers Part 1] LEFT JOIN [SOP Status Table] ON ([Employee Numbers Part 1].[SOP Number] = [SOP Status Table].[SOP Number]) AND ([Employee Numbers Part 1].[Employee Number] = [SOP Status Table].[Employee Number])
ORDER BY [Employee Numbers Part 1].[Employee Number], [Employee Numbers Part 1].[SOP Number];
I use Access 2003 and Windows XP