The problem is, ErrorColumn contains ID. Is the following code reference safe ?
columnname = Me.ComponentMetaData.InputCollection.FindObjectByID(Row.ErrorColumn).Name
Is there any possibility for FindObjectByID to return NULL Reference in any case ?In many cases ErrorColumn is NULL.|||It contains ID, how do I translate it to Column Name ?
I have defined names in connection manager.|||I don't believe you can.|||Why I couldnt ?
That sucks|||
Fahad349 wrote: Why I couldnt ? That sucks
Because the column ID is the metadata ID of the column in the previous component, not the current component. So the ID being passed in isn't in the current component's metadata.
Indeed it isn't the best situation.
|||Dang on SQL Server teamIs there any harder way to do it ?|||
Fahad349 wrote: Dang on SQL Server team Is there any harder way to do it ?
You are welcome to submit a feature request: http://connect.microsoft.com/sqlserver/feedback
No comments:
Post a Comment