... 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 <[email protected]> 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. > > -- > > rk > > -----Original Message----- > From: ProfoxTech <[email protected]> On Behalf Of Gene > Wirchenko > Sent: Wednesday, April 11, 2018 8:32 PM > To: [email protected] > Subject: RE: Appending from a Cursor > > At 11:10 2018-04-11, "John Weller" <[email protected]> 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 > <vfp> > insert into (this.thiscode+"_cwkt") select * from (alimport) > </vfp> > > I am puzzled why (alimport) works for the SQL but not the > append from, but whatever. > > [snip] > > Sincerely, > > Gene Wirchenko > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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 This message: http://leafe.com/archives/byMID/profox/cagq_jukg5lx4n6bp_t8gqlywfrvu7j3xgip_jvdq7g-sepf...@mail.gmail.com ** 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.

