This part You must place in some of Your PRGs (i.e. Main.PRG) and make sure you have:
SET PROCEDURE TO Main.PRG [ADDITIVE if neccesary] before You call other part of the code.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.