Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Editing in FoxPro 2.6, DOS
Message
 
 
À
10/01/2000 11:37:34
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00315526
Message ID:
00315591
Vues:
36
To add to John's suggestions, I've had pretty good results working with SET TEXTMERGE and the corresponding \ and \\ commands to create a file that can then be copied to a printer. Also you can use STRTRAN to replace a variable with a value. For example, use double angle brackets for your variables in your memo field, then do something like this to print it out:
cTextLine = strtran( cTextLine, '<<Name>>', mytable.cName)
\<<cTextLine>>
>Hi,
>
>How should I go about creating letters from a 2.6 DOS application?
>
>I want to get customer name, address etc. from the current record,
>then open an editing window to compose the txt of the letter, then
>to print it out. The letter need not be saved. I find working with memo fields in 2,6 DOS rather cumbersome, in VFP5.0 they work just great, of course...
>
>I don't need detailed code, just a few pointers to the right approach.
>
>Rolf
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform