Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write to the Command Window?
Message
 
 
À
06/05/2013 18:05:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01572796
Message ID:
01572845
Vues:
73
In order to persist anything entered into command window, you have to execute it
SET LIBRARY TO FoxTools ADDITIVE
lcCrLf = CHR(13)+CHR(10)

ACTIVATE WINDOW Command

lnHandle = _WonTop()

lcInserttext = [SELECT * FROM Temp;] + lcCrLf  + [WHERE Something = 2] + lcCrLf 

= _EdInsert(lnHandle, lcInserttext, LEN(lcInserttext))
KEYBOARD(CHR(13))
>Nice trick.
>
>Too bad it all disappears the next time you press Enter in the command window.
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform