Skip to Content
0
Former Member
May 11, 2010 at 09:34 AM

*PRIOR Instruction

33 Views

Hello,

I am having a problem when using the *prior instruction.

Specifically I get an error when I enter this line into the code:

*PRIOR P_CATEGORY = "0"

where 0 is the ID of a category.

The error is:

"error querying fact: -2146233079 - ExecuteNonQuery requires an open and available connection."

Does anybody know why is this happening or how I could specify the category I want to use when I need past data from a different category?

Thanks a lot,

Hector