Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending from array
Message
From
07/08/2008 08:58:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01337197
Message ID:
01337199
Views:
19
>I got PT1 with APRINTERS ( )
>
>then I did as below:
>
>DELETE all
>INSERT INTO tablePrinters FROM ARRAY pt1
>
>But:
>
>I dont want to delete all, because I have some fields I have to preserve
>
>I would like to
>
> 1- Append only new printers (not repeated records)
>
> 2- Delete printers that are on the table, but not in the array anymore
>
>TIA

You can scan the array in a For-next loop.
Previous
Reply
Map
View

Click here to load this message in the networking platform