Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing work area
Message
De
17/07/2001 13:46:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/07/2001 13:17:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00531612
Message ID:
00531634
Vues:
9
>hey everyone,
>i have a problem that is causing me fits. here is the scenario:
>
>i have 2 tables in use in the work area.
>
>i want to close both tables at the same time.
>
>here is a rough breakdown of the code causing me trouble.
>
> use alias1
> use alias2
> do while not something
> x = 0
> select alias1;
> insert into alias1;
> fields;
> values alias2->fields
> x = x + 1
> delete record(x) in alias2
> use
> use alias1
> use alias2
> enddo
>
>I want to move on to the next field in alias two to insert into alias one.
>The problem is, I think, that it close all the work area and not just the work area for alias1 and alias2.
>
>Any suggestions would be appreciate. Thanks
use alias2
scan while not something
    insert into alias1 ;
       (fieldlist) values (valuelist)
     delete
endscan
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform