Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Editing in FoxPro 2.6, DOS
Message
From
10/01/2000 12:46:20
 
 
To
10/01/2000 11:37:34
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00315526
Message ID:
00315591
Views:
37
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform