Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND GENERAL corrupting RTF data?
Message
From
17/07/2006 08:26:41
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
 
To
17/07/2006 02:33:11
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01136857
Message ID:
01136907
Views:
9
Hello Tore, thanks for the reply.

>Not a fix to your problem as such, but a warning. Avoid general fields AT ALL >COST, they have always been a PITA, and are extremely difficult to deal with in >the real life! Store the docomunts as separate files. Store the file name, with >or wothout the path, in the table.

Normally I would agree with you, but in this case I am preparing a numer of RTF strings to output on a .frx-based report. These RTF strings (5 of them) are stored in text fields in SQL-server back-end tables, and I would have liked to output them individually, but they are of variable length and general-field regions do not stretch on a report. So the most efficient solution I have hit-upon (so far) is to combine them into a single RTF-string and output them in a single general report object which stretches to the bottom of the page. (If you could suggest a more efficient way I would be grateful but this is the easiest way I have come-across so far).

Merging the RTF strings into a single string appears to be ok when converted and viewed as an RTF file, but when imported into the general field, it loses nearly everything. Weird!


Regards,
Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform