>Michelle,
>
>I just checked it from my command line and it's okay.
>
>I called x = getid(), and got the error about the missing prg. Then did SET DATABASE TO mydatabase and did x=getid() again and it was fine. So it should work for you.
I may have missed it in the thread earlier, but you can set the default value of your view's primary key to be the same SP call as your table's primary key.