Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change fonts in memo field display
Message
From
10/04/2012 10:35:25
 
 
To
10/04/2012 09:14:14
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01540734
Message ID:
01540810
Views:
35
Whoa...way too ugly, contains ALL kinds of stuff that VFP doesn't translate

Ok, let's try this from another direction. I can open the link, select and copy the text and copy that into the memo field. Is there anyway to do this programmatically? I really don't want to have to do 10,000+ records by hand.


>>Yeah, I'm trying to get out of the general field and I'd like to be able to pull strictly from the memo field and display in an edit box on the screen.
>
>That would actually have to be a browser box, with possibly some javascript tool inside if you want to make it both editable and richtext capable - like most of the forums have.
>
>> How would I do the html conversion?
>
>There are tools you can employ, most of them not free, but you may already have an automatable text processor which could do it. Even Word can, IIRC (save as html), but you'd better extract only the body of the text from it and replace all the mso* tags with normal tags - Word creates a very heavy stylesheet and inserts it into pretty much anything. LibreOffice may be easier on the styles and may produce a lighter html, but I haven't even tried to automate it yet.
>
>Maybe staying with rtf but storing it as just rtf text in a simple memo field is the easiest way. You could just open it up as the general field, save as rtf, replace the simple memo with filetostr({saved file name here.rtf})
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform