This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Guys, I have the following stored procedure:
When invoked using the following code:
Lightspeed returns an array with the correct number of rows but each element in the array is null, possibly because the return type is not mapped to a specific table. Is there a way around this? |
|
|
The AgentStopSchedule type doesn't need to be mapped to a specific table, but the field names of AgentStopSchedule do need to match up with the columns returned from the procedure. For example, if the AgentStopSchedule has fields From the fact that you are getting nulls I would guess that you are not returning an Id (primary key) from your sproc, and indeed looking at your sproc I think it returns only StopId and Tag columns. If the StopId is meant to be the primary key then you can either rename it to Id within the sproc ( |
|