Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tabs in TEXT TO
Message
De
27/11/2013 13:10:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Tabs in TEXT TO
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01588775
Message ID:
01588775
Vues:
53
Hi All:

I'm preparing text for emailing.

I can't get the columns to align properly. Right now I'm using tabs, but there is no guarantee as to how the recipient has his tabs set up. Also, I'm sending the email as plain text, but the recipient has his default font set to Arial, which is proportional.

BTW, I'm using ** as the delimiters in my example, since the usual ones are messing up my code.

Any tips?

Thanks,

Yossi
	SET TEXTMERGE ON

	TEXT TO lcText ADDITIVE FLAGS 2 PRETEXT 3
		Dear **lcContactFirstName**,

		There have been some price changes, as follows:

		Item	Description	Old Price		New Price
		----	-----------		---------		---------
	ENDTEXT

	DO WHILE lcCustNo = ALLTRIM(curCustItemPriceChanges.custno) AND !EOF()
		
                ...Code to set up vars

		TEXT TO lcText ADDITIVE FLAGS 2 PRETEXT 3
			**lcItem**	**lcID**	**lcPO**		**lcPN**
		ENDTEXT

		SKIP

	ENDDO
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform