Parsing Calculations Automatically

Question:
A VB form displays select financial numbers from an Access DB. The user can build a calculation. If the arithmetic operation is stored as text in the DB, how can I later have VB invoke this calculation? I’m trying to avoid any stringmanipulation.

Answer:
There really is no way you can get around having to parse (analyze) the calculation the user typed in. Since everyone who does this type of thing does it differently, there really is no way to have the DB do it. The only thing that is close is in Apex’s TrueGrid Pro, where you can set columns up to be calculated, based on data values. Those may be able to set at runtime.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: