Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database Driven Logic?

Status
Not open for further replies.

Tinman

Programmer
Apr 8, 1999
31
US
Ok. Does anyone have any ideas on this?
What I was asked for was
1. A test scoring module -- Sounds simple.
A list of rules for what should be scored should be stored in the database. -- no biggy. right?
The rules are going to be basically the source code.

What I am looking for is a way of at run time grab the list of rules and use them as the logic to score the tests. Everything from select case statements, if statements, loops, any control flow statement.

The hitch being that I was told not to use the database to handle the logic... So I would be putting vb source code into a database and need to pull it out and use it as tho it was compiled.

Any one know a book to pick up for that?

I could easily do it in asp create a page that does the scoring of the test but do to the size of and the logic required for some of them that page would take way too long.
Chad
tinman@thelandofoz.org

Tinman,

Welcome to OZ.
 
I think you're a lot further away than "Oz". It is at least 'never-never' land and, if my astro-navigator is correct it is somewhere near 'spaced out' land.

What (in THIS world) does " ... not to use the database to handle the logic ... even mean? What """""INDIVIDUAL""""" gave the instruction?

ON the other hand, an array of UDT's with the same information that would be " ... in the database ... " would come close to being indistinguishable from magic.



MichaelRed
redmsp@erols.com

There is never time to do it right but there is always time to do it over
 
VB itself doesn't have any way to evaluate program instructions at runtime that have been stored elsewhere. But .... MS Excel has an "Eval" function which may help. You may want to look around for a VBA engine, which allows software companies to allow their products to be "scriptable" by VB code.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top