How does one store mathematical expressions in a database and print them in a report?

April 18, 2009 by admin · 2 Comments
Filed under: Software 
store
razausman asked:


I would like to store and expression like y=2x^2+6 and be able to render the expression in a report
thanks

Comments

2 Responses to “How does one store mathematical expressions in a database and print them in a report?”
  1. J OZ says:

    just make a database with a collom for the forula and then make a report based on that

  2. Holy Cow says:

    Your best bet is to make this a function

    Public Function Y(X As Long) As Long
    Y = ((2 * X) ^ 2) + 6

    End Function

    You can use the Tools>Analyze>Documenter to print it.

Speak Your Mind

Tell us what you're thinking...