Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does COPY TO automatically TABLEUPDATE(.t.)?
Message
From
15/10/2002 07:36:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/10/2002 07:22:02
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00711253
Message ID:
00711255
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform