Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DELETE ALL IN MyTable - Syntax Error?
Message
De
17/01/2006 10:02:57
 
 
À
17/01/2006 09:54:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01087497
Message ID:
01087503
Vues:
13
Sounds like corruption. Try to USE the form, copy it to another name and see what happens when you try the same thing with the copy.

>Hi Tore,
>
>whether or not the table is used during compile time shouldn't matter. The error occurs when I am saving the method code. However, I am sure the table (in this case it is a cursor) is open at runtime and I still get the error.
>
>>Are you sure that mytable is USEd? And note that you can also get an error if someone else use mytable, since ALL instructs VFP to lock the header.
>>
>>>Hi,
>>>
>>>recently I started getting a syntax error when coding in a method on a form. The code I am trying to use is:
>>>
>>>
>>>DELETE ALL IN MyTable
>>>
>>>
>>>When I close the method, I get a VFP Compile error: Syntax Error.
>>>
>>>The confusing thing is that I am pretty sure I use this code all over the place, so why should it start giving me a syntax error now?
>>>
>>>FWIW, if I do it in the command window the command works.
>>>
>>>Any ideas what I am missing?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform