Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textmerge()- vfp7
Message
De
15/01/2001 13:56:09
 
 
À
15/01/2001 13:54:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00463864
Message ID:
00463884
Vues:
14
>>Has anyone made a function like the textmerge function in VFP 7 that they would like to share?
>
If you put your string into a memo field, you can process it this way:

cString = "<<DATE()>>"
CREATE CURSOR temp (string M)
APPEND BLANK
REPLACE string WITH cString
SET TEXTMERGE ON NOSHOW
SET TEXTMERGE TO merge.tmp
\\<<string>>
SET TEXTMERGE TO
SET TEXTMERGE OFF
USE IN temp
cTranslated = FILETOSTR("merge.tmp")
ERASE merge.tmp

----
Argg! HTML! < g >
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform