home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!spool.mu.edu!uwm.edu!psuvax1!psuvm!auvm!INDYCMS.BITNET!JLEWIS
- Message-ID: <DBASE-L%92121513321506@NMSUVM1.BITNET>
- Newsgroups: bit.listserv.dbase-l
- Date: Tue, 15 Dec 1992 15:18:22 EST
- Sender: "Discussion on the use of the dBase language and related
- dialects" <DBASE-L@NMSUVM1.BITNET>
- From: JLEWIS@INDYCMS.BITNET
- Subject: Re: Extracting Memo fields
- In-Reply-To: Message of Tue,
- 15 Dec 1992 14:22:02 -0500 from <Tom_Scott@QMRELAY
- .MAIL.CORNELL.EDU>
- Lines: 46
-
- On Tue, 15 Dec 1992 14:22:02 -0500 Tom Scott said:
- A Memo field is really just a long string. I'm not familiar with Foxpro 1.02
- but the general concept should be the same....
-
- something like this...
-
- cString = file->memofield
- SET PRINTER TO testfile
- SET PRINTER ON
- ? cString
- SET PRINTER OFF
- -------------------------
- or maybe just call a function that will append the cString to a file.
-
- > Extracting Memo fields
- >I'm working on a project right now which is an adaptation of a system we've
- >previously been using for three years now. Currently, we're extracting fields
- >from 3 related databases into a text file which we then call the WordPerfect
- >CONVERT program to convert it into a mail merge file. We're using FoxPro 1.02
- >on an IBM PS/2 Model 50. It's worked fine up to this point, but......
- >
- >Ah yes, there's that "but". Now we're thinking about customizing the mail
- >merge so that each subset of the data (specifically we're extracting students
- >that are to be accepted to the Engineering school, and each subset represents a
- >different field of engineering that they've expressed an interest in) will
- >receive a slightly different letter. What we'd like to do is maintain a
- >seperate database that contain the interest code and the paragraph to be merged
- >into the leter for that interest code to be held in a memo field in this
- >database.
- >
- >Once we get to the point where we copy to a text file, and then convert it to a
- >WordPerfect mail merge document, we lose the paragraph contained in the memo
- >field. It saves first to the text file and then automatically converts to mail
- >merge format, so I'm not positive which of these two operations causes the
- >problem, but I suspect it's the former.
- >
- >Does anybody have a suggestion on how to extract the contents of a memo field
- >to a text file for subsequent processing into a mail merge. This is the first
- >time I've tried something like this, and I've hit a brick wall. So I'm hoping
- >the collective net consciousness might have a solution.
- >
- >Thanks in advance!!! :-)
- >
- >
- >Thomas Scott, Systems Manager, College of Engineering
- >Cornell University, Carpenter Hall Annex, Ithaca, NY 14853
-