GATHER MEMVAR might render your general field useless or empty.
Also don't use macro expansion on a file name, if it contains a space in the name or path that will fail.
I still don't think this has to do with the update of windows.
Trying to print the gen field I only get a word icon with the file name of the RTF, but I still don't think this has to do with the Windows update, I see others have reported that error (sorry for pun #1) though it should work in general (sorry for pun #2).
I have Office 2007 installed, but everyday Windows 10 also offers me to test, install or buy their latest Office. This might be connected to this problem. Anyway, I still think it will work with slight modifications. What I found in Tamars 1001 Things is to add the RTF with LINKED and as CLASS "Word.Document" rather than "RICHTEXT.RICHTEXTCTRL.1", but I also saw CLASS "RICHTEXT.RICHTEXTCTRL.1" used.
If you have that same problem we're at the point to be able to reproduce this, but as there were solutions earlier for that symptom, I think it will be solvable by doing things right.
Try, if this works for you, it's a condensed and slightly varied version of and so should work, but it also only shows the word icon preview to me. The report is just having an olebound control set to the gRTF field as its controlsource.
Code:
LOCAL lcStr && Déclarer un variable local
lcstr = "Note that there is a limit of 32 characters total for the sum of text"+;
"before and text after for simple numbering. Multilevel numbering has a limit"+;
"of 64 characters total for the sum of all levels.NOTE: The file must have a"+;
".RTF extension to work properly." && Remplir la variable de texte.
CREATE CURSOR crsGen (mText M, gRTF G)
INSERT INTO crsGen (mText) VALUES (lcStr)
_rtfFile = ADDBS(GETENV("TEMP"))+SYS(2015)+".rtf" && Créer un instance d’un fichier RTF
SET TEXTMERGE TO (_rtfFile) NOSHOW
SET TEXTMERGE ON
\\{\rtf1 <<ALLT(crsGen.mText)>>}
SET TEXTMERGE TO
APPEND GENERAL gRTF FROM (_rtfFile) CLASS "RICHTEXT.RICHTEXTCTRL.1"
* CD JUSTPATH(GETFILE("frx"))
REPORT FORM genReport.frx PREVIEW
ERASE (_rtfFile)
So, is that reflecting your problem? If so, others might know how to change it.
Bye, Olaf.
Edit: I also tried MODIFY GENERAL and now that doesn't edit the RTF file directly for me, too. I now had to double click and then came out in Word Viewer.
It was not the creator update, which caused this, but an update of the Office trial version package nagging you to test and/or buy Office in any modern flavor. So I guess that hit you, too. Since creators update was before my first tests, I am now sure it wasn't that but another software update. Most likely some update of the trial Office package coming with Win10 caused this. That update just came yesterday to me, and was separate from the creator update! I had a screen telling me "Have a look at your new Office".