What difference does it matter what alias you open it under? The only thing that matters is the default value function call, and the only thing that matters is that you use a unique value:
getNextID("thisMustBeDifferentForEveryTable--butDoesNotNecessarilyHaveToBeTableNameOrAlias")
I don't see anywhere where you try to select the alias in your getNextID() function, so it should not matter...
>
>The problem is, what if I open table under different alias? In default value I have GetNextID('AllFunctions').
>
>So, my problem is to find out under which alias AllFunctions table is opened. I'm having brain loss at this moment. How can I find out the alias by fullpath table name?
>
>Thanks a lot in advance.
Steve Gibson