Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPENDing FROM a view
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102393
Message ID:
00102779
Views:
29
>Is there anyway to use APPEND FROM using a view instead of another table? Or should I just use something like a loop and INSERT INTO?

I tend to do it this way (assuming the table and view are the same structure).
SELECT * FROM myView INTO ARRAY laMyArray

IF _TALLY > 0
   INSERT INTO MyTable FROM ARRAY laMyArray
ENDIF
HTH
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform