The problem was caused by division by zero. There is no problem until I execute the graph OCX, it seems to change the rules and VFP falls over! Unfortunately, appending a blank record to a table which has a tag involving division by any field, is also considered division by zero!
The problem was not related to the machine I ran it on, but the date - my division was by (expiryDate - DATE()); sometimes causing zero, sometimes not.
Thanks for your help.
Andrew McGurk
>>I have been using a graphing OCX which generally works fine. However on
>one machine only (out of 4), after leaving the screen that I use it in,
>there is one screen in my app. which always fails when I try to run it!
>This second screen is fine as long as I stay away from charting. Error
>message is:
>>
>>The program has performed an illegal operation and will be shut down...
>>VFP caused an exception 10H in module VFP.EXE at 0137:005c8e78...
>>
>>I have tried a second OCX and get the same error on a machine where the
>first OCX has never failed!
>
>
>I don't know if this will help but since no other answers
>came, I'll try. Do a search on SYS(3050) both in the
>VFP Help system and here on UT. That seems to help
>some OCX problems.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement