... and one more thing to add to what Richard said about APPEND FROM:
When APPEND FROM was created, in dBase/CPM times (1979), SQL syntax did not
exist, so did not get implemented in any language, at least until 1986, far
later than dBase.
El jue., 12 abr. 2018 4:16, Richard Kaye <rk...@invaluable.com> escribió:
> APPEND FROM is xBase. As others mentioned, it wants the physical file and
> a cursor is a temp file buried in your temp directory using sys(2015) to
> create the file name. The SQL SELECT doesn't care about the location of the
> physical file since you already have it open.
> -----Original Message-----
> From: ProfoxTech <profoxtech-boun...@leafe.com> On Behalf Of Gene
> Sent: Wednesday, April 11, 2018 8:32 PM
> To: profoxt...@leafe.com
> Subject: RE: Appending from a Cursor
> At 11:10 2018-04-11, "John Weller" <j...@johnweller.co.uk> wrote:
> >You could try
> >APPEND FROM DBF(alimport)
> [whack object="hand" target="forehead"] I have used it in the
> past, just not very often. When I checked my code, I searched for
> "append from (" instead of just "append from". Sometimes, 90% of the
> battle is knowing what to look for.
> I ended up using
> insert into (this.thiscode+"_cwkt") select * from (alimport)
> I am puzzled why (alimport) works for the SQL but not the
> append from, but whatever.
> Gene Wirchenko
[excessive quoting removed by server]
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.