Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test for active database
Message
From
12/08/2009 17:23:43
 
 
To
12/08/2009 17:11:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01417701
Message ID:
01417729
Views:
45
>Fantastic!!!! I have tested your code with different incorrect scenerios and it works seemlessly.
>
> thanks Chuck.
>
>
>k


If you know the correct table you can always select that before you do the append. I don't know your application but if "right" is the alias of the table you can always select it first if it's not selected
*-- Save work area
ln_area = SELECT(0)
IF ALIAS() <> "RIGHT" AND USED("RIGHT")
    SELECT right
    APPEND FROM m.txt TYPE SDF
ELSE
   =MESSAGEBOX('Table Right not open')
ENDIF

*-- Reset work area
SELECT (ln_Area)
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Reply
Map
View

Click here to load this message in the networking platform