Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax error in VFP 8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00776151
Message ID:
00776188
Vues:
31
This message has been marked as the solution to the initial question of the thread.
I ran into this problem myself when I upgraded to VFP8. I posted the problem here on the UT. To determine what object was causing the problem, I started with a new blank form and added to it the objects from the problematic form one by one and tested the form until it bombed. It turned out that it was a problem in the caption of one of the labels on my form. I was using the syntax

caption = "="

without a space before the = sign and changing it to:

caption = " ="

with a space before the equal sign fixed the problem. Someone on the UT helped me out with this.

Found the thread: Re: Form gives error when modifying in VFP8 or when running Thread #752686 Message #752746

If you do not have any captions that match this example, then try moving objects one by one to a new form to determine which one is causing the problem. There are also sql syntax changes in VFP8 that I had to change in my old VFP7 forms too.


>I just upgraded to VFP 8 from VFP 7. I have a form that now reports a syntax error when the form is modified and when the form is executed. I cannot seem to locate the error. If I step through the code, it occurs after the load event but before the init events. My regular "ON ERROR" routine does not trap the error. I am not sure where to look. Any ideas?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform