Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting two fields
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00425367
Message ID:
00425371
Vues:
13
>I am using the mapimail class from the files section, which works great. for the parameter for the body of the email, I have:
>
>"Please Note: A trouble ticket has been Created or Updated, ticket number and city: "+alltrim(str(thisform.pageframe1.page1.trouble_ticket_id1.value))+alltrim(thisform.pageframe1.page1.cbosrch1.value)
>
>I am pulling values from two different fields on the form and putting them in the email body. The problem is that I do not know how to put a space or a comma and a space in between the two values. For example, in the email it would appear as:
>
>Please Note: A trouble ticket has been Created or Updated, ticket number and city: 180Omaha
>
>Thanks for your help,
>Ryan

Just add it in like this:

"Please Note: A trouble ticket has been Created or Updated, ticket number and city: "+alltrim(str(thisform.pageframe1.page1.trouble_ticket_id1.value))+", "+alltrim(thisform.pageframe1.page1.cbosrch1.value)
Rip Ryness
International Falls, MN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform