home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / bit / listserv / dbasel / 1362 < prev    next >
Encoding:
Text File  |  1992-12-15  |  2.7 KB  |  61 lines

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