I want the user of our application give the possibility to adapt a
special user function.
The user function could be:
Name: UserFunction1
Parameter1 : Integer
Parameter2 : Integer
ReturnValue: Integer
And the user should be able, i.e. to ADD, or to MULTIPLY these values,
just as he wants.
So there must be the possibility, to visualize the script, to change the
script and to compile the script.
Infomaker can not be used, because it must be very simple, without any
knowledge of PB or Infomaker.
Can anyone give me an idea how to realize this or has anyone solved this
problem already?
Thanks
Peter
to compile a script you must have ORCA which can't be distributed due
to license restrictions. I suggest that you make use of a computed
field in the datawindow and use two columns for the input parameters.
You can provide an easy interface for the user to add the formula and
save the formula e.g. to the database. Whenever you need the formula
you can apply it to the computed field through modify. Do an insertrow,
set the values and get the result be getitem (of course you can go
without a computed field and just do Describe( "Evaluate('',1)")
Arthur
Kind regards
Peter
Arthur Hefti schrieb:
"Peter" <no_...@web.de> wrote in message news:4af1e990@forums-1-dub...