Wednesday, December 17, 2008

How can i check if a parameter exists in DataTable or not?

How can i check if a parameter exists in DataTable or not?

Using the below code:

on error resume next
val=DataTable("ParamName",dtGlobalSheet)
if err.number<> 0 then
'Parameter does not exist
else
'Parameter exists
end if

No comments:

Post a Comment