Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DELETE ALL IN MyTable - Syntax Error?
Message
From
17/01/2006 10:25:20
 
 
To
17/01/2006 10:02:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01087497
Message ID:
01087523
Views:
11
Hi Tore,

turns out it was a #DEFINE DELETE 65536 in an include file!

Thanks.

>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?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform