Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display and storing chemical formula and RTF
Message
From
13/01/2000 02:19:12
Salminen Jukka
Js Software Systems
Vaasa, Finland
 
 
To
12/01/2000 14:45:35
Karl Scheff
California Department of Education
Sacramento, California, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00317189
Message ID:
00317422
Views:
10
>I need to display and store chemical formulas as fields in a database. I would like to be able to display the formula correctly with subscript notation. For example C10H15NO should have the 10 and 15 as subscript

It depends on how and where you are going to use that formula. I store formulas in VFP memo-fields encoded with Corel Ventura tagging. That way the text can be transported to Ventura without change. I also publish in HTML-format and there I have to change (programmatically) all the Ventura codes into HTML-codes. In the future I'll change all the encoding into XML, but XML isn't yet usable in a publishing environment.

Jukka Salminen
Central Hospital of Vaasa
Laboratory of Clinical Chemistry
Previous
Reply
Map
View

Click here to load this message in the networking platform