>>What if type() returned Y?
>
>It wouldn't, as I never feed it a currency key. If later the user should need to search on a currency key I can always add that functionality. As it happens, no money comes into the system at all.
Poor system :)
>>Do you have an error routine that might be eating an error?
>
>I have an on error routine but it doesn't fire while I'm in debug. Funnily, since this problem I DID get a spurious error when trying to cancel out of the dlog, something like:
>
>"Can't have a Setfocus in a when event" but the error was reported as happening on a Setfocus line of code in .page1.Activate. I don't have any when event in the form and I very rarely use it anyway! Go figure.
>
>Any ideas on this?
Can be any .when() event up the return stack... does your error routine leave a stack dump so you can see how it got there?