Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: INSERT ... FROM NAME objectName
Message
From
06/04/2005 18:29:01
 
 
To
06/04/2005 18:10:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01001906
Message ID:
01002110
Views:
29
>Of course!
>Why have I written the WITH ENDWITH code?
>
>On documentation is written ObjectName
>in WITH .. ENDWITH and in INSERT ... FROM NAME,
>in WITH CREATECURSOR() do the job,
>in INSERT no
>
>Same syntax word "ObjectName", same meant.
>
>Or I must read the documentation as
>"more or less this is the syntax, tries and sees if it works".
>

You must simply read what is written. Documentation for WITH ... ENDWITH specifically says, that object reference is accepted, documentation for INSERT doesn't say that. If you have time to try undocumented behavior, it is your choice, but don't complain if it doesn't work and don't complain if it'll be broken in the next release.
WITH ObjectName [AS <Type> [OF <Class Library>]]
   [.cStatements]
ENDWITH
 


Parameters
ObjectName 


Specifies the name of the object. ObjectName can be the name of the object or a reference to the object. 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform