>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.
>
>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?
Cheers
Terry
>
>good luck
>
>
>>>Might you be using a compound key in the table in question?
>>
>>Hi Jim
>>
>>No. If a compound key IS the order in any table I temp. change to a single key for the seek, Besides, the user can only seek on a simple key, and this has been working fine, and for other tables up to now. I'm having trouble with it on any form. I was wondering if there's some bug in VFP or this is some sort of a glitch, but I've restarted VFP thrice to no avail.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.