Use of CSVExport - LineScriptName Component

Hi All,

Could you please help me on the below issue.

I'm using a CSVExport component for generating csv files and i wanted to use the lineScriptname parameter instead of linedef in order to replace certain characters.

I used the below code snippet to achieve this but  "getting Object Reference not set to an instance of an object"

Public Function CSVExport() As String

Dim SB As New StringBuilder()

SB.Append(base("DisplayName").[New].String)

SB.Append(";")

Return SB.ToString()

End Function

Wanted to know if the above issue is because of  the ObjectType parameter- the tablename which I'm providing is different from the table name from where the csvexport process is getting triggered.

Thanks in advance