Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy a Record
Message
From
23/11/2001 14:31:03
 
 
To
23/11/2001 13:47:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00585192
Message ID:
00585203
Views:
26
>Is there any way to copy the entire contents of a record in one table and put it into a remote table? I have a situation where I have a table on a network in Texas and a table on a network in California connected by a T1 line. When one of the table records are changed I need the other to change also. I know SQL passthrough will work with ODBC. However, I have many fields that are involved in the record.

Steven

This works with free tables.
SELECT table1
SCATTER MEMVAR MEMO
SELECT table2
APPEND BLANK
GATHER MEMVAR MEMO

If you are using cursors try it. Then issue a TABLEUPDATE() on the 2nd cursor.
Basically you store everything into menmory variables. Then insert them into the 2nd cursor.

HTH
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform