>Question is obvious from the title:
>
>Does COPY TO automatically do a
>TABLEUPDATE(.t.)?
>
>I'm confused about something and this would explain it.
>
>Thanks
No Tim,
it doesn't do an implicit tableupdate(). However if what you want to ask is if 'copy to' copies buffered recs, yes it does. All xbase commands unlike SQL have access to buffered records. ie:
USE customer
CURSORSETPROP("Buffering",5,'customer')
BROWSE TITLE 'Change some records'
COPY TO TempCustomer
TABLEREVERT(.t.,'customer')
BROWSE title 'Table reverted'
USE TempCustomer
BROWSE TITLE '"Copy To" copy'
USE
ERASE TempCustomer.dbf
Cetin