Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


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

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

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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


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

 

 

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