Link to home
Start Free TrialLog in
Avatar of tpadilha
tpadilha

asked on

Executing external code

I stored a formula such as 'll_count = al_rows * al_cols' into database register.

Is it possible to execute the formula like if it was written into source code?
Avatar of SylvainPouliot
SylvainPouliot

You could use a datawindow computed column or the evaluate function.

Of course...ll_count = al_rows * al_cols'
won't work "as is" but if you take this expression, replace "al_rows" with the value you want (or the name of a column in your datawindow)  and do the same for "al_cols" then your computed_column will give you the result...


This solution has some limitations regardless the type of expression you want to use, but it might help you..

Bye!
ASKER CERTIFIED SOLUTION
Avatar of berXpert
berXpert
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you can build dynamic script in runtime.
just use PBORCA API, there is a function for importing any object to your library. and call it in runtime.

if you need an sample code, please let me know.
I'd like to see that...