Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996



Application Security Testing: An Integral Part of DevOps

Parsing Calculations Automatically

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 string manipulation.

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.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date