Does anyone have any experience with calling functions from a table? I have a table that contains rules for a process. The table contains a sql statement that is tested and also a yes function field and a no function field.
If the sql statement returns positive then I want to be able to call the function stored in the yes function field. If the sql statement returns negative then I want to be able to call the function stored in the no funciton field.
The problem lies with the passing of parameters for the function. I want to be able to pass parameters from the table as well as the function name. The 'Application.Run' end that I use to run the function from the table requires that parameters be separated by commas(In the code not the field).
It seems that no matter how I store the parameters in the table, I just cannot seem to get my brain around this one.
Even if you cannot provide a solution, any leads would be appreciated.
Thanks in advance
Mike
If the sql statement returns positive then I want to be able to call the function stored in the yes function field. If the sql statement returns negative then I want to be able to call the function stored in the no funciton field.
The problem lies with the passing of parameters for the function. I want to be able to pass parameters from the table as well as the function name. The 'Application.Run' end that I use to run the function from the table requires that parameters be separated by commas(In the code not the field).
It seems that no matter how I store the parameters in the table, I just cannot seem to get my brain around this one.
Even if you cannot provide a solution, any leads would be appreciated.
Thanks in advance
Mike