Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating a log table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01104173
Message ID:
01104183
Vues:
6
Try
lcLogFile = "dts_log.txt"
SET TEXTMERGE TO (lcLogFile) ADDITIVE
TEXT TEXTMERGE NOSHOW 
...
ENDTEXT
SET TEXTMERGE TO
>
>In the following code, I get an error: Variable AUTOOPENTABLES not found.
>I am basically addin data to a text file.
>Any ideas?
>
>Thanks
>
>IF !FILE("dts_log.txt")
> lnHandle = FCREATE('dts_log.txt')
>ELSE
> lnHandle = FOPEN('dts_log.txt', 12)
>ENDIF
>
>IF lnHandle > 0
> _TEXT = lnHandle
> TEXT TO _TEXT NOSHOW ADDITIVE TEXTMERGE
> Message
> ENDTEXT
> =FCLOSE(lnHandle)
>ENDIF
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform