Number format

lallylally Member Posts: 323
Hi,

This is chemical name .C6h12 O2
But in navision how to enter this as a subcript

Kindly help me
lally

Comments

  • garakgarak Member Posts: 3,263
    I can't follow you.
    Is this the item No. you wish to insert or what.

    Regards
    Do you make it right, it works too!
  • David_SingletonDavid_Singleton Member Posts: 5,479
    lally wrote:
    Hi,

    This is chemical name .C6h12 O2
    But in navision how to enter this as a subcript

    Kindly help me

    You can't mix fonts in a control in Navision, so its really not going to be possible without some very complex work. You would have to create a separate control for every character and use code to determine which to display.

    So you would do something like:
    C6H12O2

    easier is just to get the users used to it the way it is.
    David Singleton
  • lallylally Member Posts: 323
    Thanks Mr. David sir,


    Yes you are right , that is what i need .

    So could u explain how to solve and some sample code .


    i hope can do this help.


    thanks and regards
    lally
  • David_SingletonDavid_Singleton Member Posts: 5,479
    Well its not somethign I an do for you. As I said, its a big job, and you really need to decide just how necessary it is. It think that the cost will not be justified.
    David Singleton
  • garakgarak Member Posts: 3,263
    ](*,) chemical formulas .....

    so, what you need is not so easy to realise in NAV. For example not all numbers in a formula are subscript. Like

    2MgOC or 3H2O

    So, to realise this is NAV is very hard. Easier is to use the Formula Wizard of Word and display the formual as bitmap in NAV (so you can also print it in a report).
    Normally a chemical firm has his own software to store the formulas in a database. Maybe there is a ActiveX Control that you can use for this to display the furmula in NAV or you can link both applications.

    Regards
    Do you make it right, it works too!
Sign In or Register to comment.