Showing posts with label How can i check if a parameter exists in DataTable or not?. Show all posts
Showing posts with label How can i check if a parameter exists in DataTable or not?. Show all posts

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