Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test for active database
Message
De
12/08/2009 17:23:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01417701
Message ID:
01417729
Vues:
44
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform