Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
The execute call returns a RecordSet object which is a list of records in a particular format for you to be able to traverse and pull out specific values. So, when you are calling Log.Message(PRM), you're trying to log as a string an object that does not convert to a string.
I don't know C# syntax very well so excuse any syntax errors. But if you want the value returned from your query, you should call something on the lines of
I don't know C# syntax very well so excuse any syntax errors. But if you want the value returned from your query, you should call something on the lines of
Log["Message"](Prm.Fields(0).Value)