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 _______________________________________________ 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/dm5pr10mb1244cc5e101356a547d1a605d2...@dm5pr10mb1244.namprd10.prod.outlook.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.

