I don't think that will work all the time. A cursor may be a sql filtered,
behind the scenes view of a dbf. If you append from the actual dbf, you'll
lose the filter. The problem is mixing the legacy dml with sql; they don't
think of data in exactly the same way.

I believe, but don't have time to verify or remember, that a pure sql
statement will work. Something like:

insert into targettable (field list);
    select (sourcefield list) from sourcecursor

-Lew Schwartz


On Tue, Aug 20, 2013 at 9:30 PM, Gene Wirchenko <ge...@telus.net> wrote:

> At 15:29 2013-08-19, "Michael Oke, II" <oke...@gmail.com> wrote:
>
>> To append directly from a cursor use:  append from dbf('cCursorName')
>>
>
>      Thank you.  That did it.
>
> [snip]
>
> Sincerely,
>
> Gene Wirchenko
>
>
>
> ______________________________**_________________
> Post Messages to: ProFox@leafe.com
> Subscription Maintenance: 
> http://mail.leafe.com/mailman/**listinfo/profox<http://mail.leafe.com/mailman/listinfo/profox>
> OT-free version of this list: http://mail.leafe.com/mailman/**
> listinfo/profoxtech <http://mail.leafe.com/mailman/listinfo/profoxtech>
> Searchable Archive: 
> http://leafe.com/archives/**search/profox<http://leafe.com/archives/search/profox>
> This message: 
> http://leafe.com/archives/**byMID/profox/<http://leafe.com/archives/byMID/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.
>


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
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
This message: 
http://leafe.com/archives/byMID/profox/CAFuU78ceT2_b4B5Ky6HvN=ocwtm9ldnh7ga8avkjyfwhf3-...@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.

Reply via email to