Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing work area
Message
From
17/07/2001 13:46:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/07/2001 13:17:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00531612
Message ID:
00531634
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform