Have to match? You can include constants, variables and data from other
cursors to make the columns match up. It's a code issue, not data.

-Lew Schwartz


On Mon, Aug 26, 2013 at 2:16 PM, Gene Wirchenko <ge...@telus.net> wrote:

> At 06:45 2013-08-25, Lew Schwartz <lew1...@gmail.com> wrote:
>
>> 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.
>>
>
>      Thank you for the warning, but it is not applicable in my case as I
> created the cursor with create cursor.
>
>
>  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
>>
>
>      Yes, it will work, but unfortunately, the two lists have to match.
>  Using append, you do not even need a list.
>
>
> [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/cafuu78c0jdzauqmxfi8gy3pbusraumgeamozffrm-1rocav...@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