Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From a record of a table to another
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01260800
Message ID:
01260816
Views:
9
This message has been marked as a message which has helped to the initial question of the thread.
May be
SELECT Table1
SCAN
 ** IF this record is not in table1 yet
       SCATTER MEMO NAME oRec
       INSERT INTO Table2 FROM NAME oRec
    ENDIF
ENDSCAN
>I have two tables with the same structure, and I using the got below
>
>Scan table1
>
> select table 2
> appe blank
> ** if this record is not in table1 yet
> ** get data of this record to current record of table1
>endscan
>
>Is it possible to append data from a record of table1
>to a redord of table2 without having to store table1 fields to variables?
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform