benlinkknilneb
Programmer
Hi all,
I have a database with a table of rules. If the rule matches my current user input, then I want to fire the function specified by a field in the table, something like this:
(Table)
FieldName: "OneMachineOnly"
TriggerValue: "Yes"
WhatToDo: "CheckOneMachine"
(Code)
Private Function CheckOneMachine() as Boolean
...
End Function
I want to do this because the program will "learn" new tests... and I don't want to recompile the entire application every time, so it should be as simple as writing the new function and adding a row to the table. My thought was to have to new functions added into the project via .dll. Any suggestions on how I might go about accomplishing all this? If you can see a better way, I'd love to hear it...
Ben
I have a database with a table of rules. If the rule matches my current user input, then I want to fire the function specified by a field in the table, something like this:
(Table)
FieldName: "OneMachineOnly"
TriggerValue: "Yes"
WhatToDo: "CheckOneMachine"
(Code)
Private Function CheckOneMachine() as Boolean
...
End Function
I want to do this because the program will "learn" new tests... and I don't want to recompile the entire application every time, so it should be as simple as writing the new function and adding a row to the table. My thought was to have to new functions added into the project via .dll. Any suggestions on how I might go about accomplishing all this? If you can see a better way, I'd love to hear it...
Ben