You could try 

APPEND FROM DBF(alimport)

John

John Weller
01380 723235
07976 393631

> Hello:
> 
>       I have some code where I am importing transactions.  I have a
> cursor for these transactions where I validate them.  After doing
> this, I want to add them to the transaction table.  I select the
> transaction alias and then do
>            append from (alimport)
> 
>       alimport is an alias variable.  It works for creating the cursor:
>        SQLSEL * from cwkt;
>        where .f.;
>        into cursor (alimport) readwrite nofilter
> It works to select the cursor:
>           select (alimport)
> 
>       So why does the append not work?  I get error 1 with the text
> "File 'c:\cbs2dev\cutlblas_import.dbf' does not exist."
> 
>       I figured out how to do this using SQL, but I would still like
> to know why the append does not work.


_______________________________________________
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/001401d3d1c0$594ed160$0bec7420$@johnweller.co.uk
** 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