Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation question.
Message
 
À
14/01/2002 12:12:16
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00604396
Message ID:
00604418
Vues:
32
Sorry, mistake there. Would be like the following.

Not sure what you mean here. In the text file the data would be like the following:
Student1,Grade1,Fee1,Student2,Grade2,Fee2,Student3,Grade3,Fee3,Student4,Grade4,Fee4
"student1","grade1","fee1","student2","grade2","fee2","student3","grade3","fee3","student4","grade4","fee4"
"student1","grade1","fee1","student2","grade2","fee2","student3","grade3","fee3","student4","grade4","fee4"
"student1","grade1","fee1","student2","grade2","fee2","student3","grade3","fee3","student4","grade4","fee4"
"student1","grade1","fee1","student2","grade2","fee2","student3","grade3","fee3","student4","grade4","fee4"
Can you ellaborate based on this?

>Colin --
>
>It seems the easiest way to do this is to use 3 fields rather than one, and parse the mergefield text to extract the 3 fields. Is this an option?
>
>Jay
>
>>This question is from the Word side of things as opposed to VFP but figured this group is the best to ask so:
>>
>>I have a comma and quote delimted text file for the mailmerge. The mailmerge fields need to be lined up in columns, so they are layed out like the following:
>>
>>
>>Student          Grade          Fee
>>student1         grade1         fee1
>>student2         grade2         fee2
>>student3         grade3         fee3
>>student4         grade4         fee4
>>
>>
>>The trouble is the grade and fee mergefield positions shift depending on the length of the student mergefield.
>>
>>Is there a way to ensure a mergefield takes up a certain amount of space, no more and no less, without padding the mergefield values and using a non-proportional font? The client has a font standard for all documentation so that is not an option.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform