ctrLoadQueryIntoDb function

Load and store register trial information