Janus GridEx 2000 Control
Ok , I am getting this really weird error in the JanusGrid. It happens on the rebind method. As soon as it hits this method, I get the following error message from the janus grid control (i.e. it doesn't default to my errorhandler but is raised by the control itself):
Syntax Error or Access Violation
I'm doing something I've done quite a few times before and it's always worked before so I'm not sure what the problem is. I'm just dynamically setting the SQL string for the recordsource property then calling the holdfields method and then the rebind method. Any ideas on what this error message means?!? I don't even know where to begin.
axMain.RecordSource = m_oViews.Item(Item.Key).DataSQL
axMain.HoldFields
axMain.Rebind ----this is where the error happens
m_oViews.Item(Item.Key).DataSQL = EXEC sp_GetBookMaster DEFAULT DEFAULT DEFAULT and just as an FYI I have tested this SQL statement and it works just fine so I know that's not the problem. Any thoughts?