>Hmm...Perhaps, the code immediately prior to line or immediately after in the function call is doing it. Are there any declarations prior to the function call. FWIW, there is a GetResult() function in OLE DB, but if your function isn't referencing anything in that API, that wouldn't cause a problem.
No, I'm not referencing that function.
I've seen that before where the error is being reported from the calling line. So, I'll have to look into that function. I'm doing some calls to a wwipstuff function.