Well, I think the effect that Sytze was depending on was the feature of General fields that store a bitmap image of the linked OLE object in the field, suitable, in some cases, for printing. That's how the FRX report worked.
It's a dangerous thing to depend on, since different OLE servers store different kinds of bitmaps -- some just put the application's icon in the General field, others store a hi-res image that takes up huge amounts of space.
There are definitely different ways of getting the effect Sytze's after, but I'm a big fan of minimizing changes in production code in the field, and most of the solutions would entail a new way of generating, storing and producing reports, which is likely too costly if a quick workaround is available.
On Tue, Jul 26, 2016 at 8:39 AM, Koen Piller koen.piller@gmail.com wrote:
Alan,
Donot store anything in GeneralFields, and if you must than donot. Just store the fullpath in of the .doc .xls or whatever file in your memo field. Advise you to change your code and I can garantee you will be a happy foxpro user again. Regards, Koen
2016-07-26 9:46 GMT+02:00 Alan Bourke alanpbourke@fastmail.fm:
It seems this no longer works with Win10
I don't know why it wouldn't work with Windows 10 other than you are linking it and it can't resolve the path in the link.
If you do MODIFY GENERAL does it bring up the .DOC?
Frankly I'm surprised it worked on a report layout in *any* OS. The help states:
"If the General field in the table contains data other than an image file, such as a Microsoft Excel or Microsoft Word document, an icon representing that data appears on the report or label when you generate output for it. "
Are you saying it would actually print the contents of the .DOC previously ?
I assume the PC has 32-bit MS Word installed ?
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]