Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP just quits!
Message
De
12/10/1998 17:37:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
VFP just quits!
Divers
Thread ID:
00146032
Message ID:
00146032
Vues:
79
Here's a new one. I have some code that is causing VFP to quit without warning. The code that is causing this is:

CovAmountString = PADL(TRANSFORM(CovAmounts[i], "99.99X"),COLUMN_WIDTH)

where CovAmounts[i] contains a Currency value
($15.1523 for example)

and COLUMN WIDTH is a defined constant with the value of 12

this code does not generate an error, or even a Dr. Watson. It just shuts VFP down cleanly and quickly (no remnants in the task manager). But it doesn't do it every time.

This code causes this in design mode, as well as in the compiled exe, and I can watch it happen in the debugger (and yes, I have verified all values)

I have created many variations of the code:
test1 = CovAmounts[i]
intest1 = $ 16.4572
test3 = TRANSFORM($ 16.4572, "99.99")
test4 = TRANSFORM(intest1, "99.99")
intest1 = CovAmounts[i]
test2 = TRANSFORM(CovAmounts[i], "99.99")
test4 = PADL(TRANSFORM(intest1, "99.99X"),12)
test5 = PADL(TRANSFORM(CovAmounts[i], "99.99X"),25)
test6 = PADL(TRANSFORM(CovAmounts[i], "99.99X"),6)

and some of these cause the error sporadically too. The offending lines are in a tight loop, so it may not fail on the first iteration, but it usually does on one of them.

Probably irrelevant but possibly related info:
NT 4.0 SP 3, VFP 5.0a
I recently installed Adobe PDFWriter and Distiller, but this is not present on other machines where the shutdown happens. This app is installed on 10 other machines and 3 so far have seen this behavior.


What is going on? Do I need to reinstall VFP?

This code is in a very important and often used routine, so any help will be greatly appreciated.
Erik Moore
Clientelligence
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform