See f theDBguy's function works for you.? http://www.accessmvp.com/thedbguy/codes.php?title=generic Linked from https://www.access-programmers.co.uk/forums/threads/error-3061-too-few-parameters-expected-3.313393/#post-1715056 thank you will...