Kriging problem

764
1
06-02-2011 09:22 PM
shih-chiehlin
New Contributor
http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Krige

When I using the AO example in the end of the page(in Visual Basic Editor in GIS)
The compiler give me a error message


Compile error:

Sub or Function not defined



and the error occur at

Set pInputDataset = OpenPointDataset("D:\SpatialData", "inputpoint")


and highlight on


OpenPointDataset




I have checked my reference

it's have
ESRI Geoprocessing Object Library
&
ESRI GeoprocessingUI Object Library

what's wrong with it?how do I fix it?
0 Kudos
1 Reply
RobChasan
New Contributor III
You need to create a function called OpenPointDataset in your program.  It is not a built-in function.
0 Kudos