Categories > TinyButStrong general >

I call two functions in Ondata

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Cavanha
Date: 2010-01-08
Time: 18:12

I call two functions in Ondata

Hello everybody and everything like your help as I have to call more than one function by Ondata, example
[blk_lista_sf101_rec.F1_ANO; block = tr; Ondata = f_func1; f_func2] I tried to do so but when I make reference to the field of second function of the error, someone help me?
By: Skrol29
Date: 2010-01-11
Time: 00:15

Re: I call two functions in Ondata

Hi Cavanha,

I think you have to use a third function:
  [blk_lista_sf101_rec.F1_ANO; block = tr; ondata = f_func3]
having f_func3() calling  f_func1() and  f_func2().

By: Cavanha
Date: 2010-01-11
Time: 12:01

Re: I call two functions in Ondata

Thanks for the help Skrol29 unwittingly abuse, could provide a clearer example, because I could not understand, now required.
By: Vincent
Date: 2010-01-14
Time: 08:37

Re: I call two functions in Ondata

Like he said: f_func3() should be a new function that calls the two existing functions:

function f_func3(){
f_func1()
f_func2()
}