This error is not telling you that the tagname doesn't exist, it is telling you that you don't have the tag active when you do the seek(). My guess would be that somewhere you are either closing and reopening the file without setting the tag or you have a "Set order to" command somewhere in your code. My suggestion would be to do a global search either on the table name (to see exactly what the code has in it) or on the phrase "Set Order to".
>Hi,
>
>On a line of code:
>=seek(expression, table, tagname)
>I get this error (occasionally). The tagname exists. What could be wrong here?
>
>Thanks,
>
>Auke
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place