I am working in ArcGIS 9.3.1 and I try to write code for creating a crystal report and work with it in VBA, but I recieved an error when the program arrived at this line of code:
Dim pProj As CRAXDDRT.Application Dim pReport As CRAXDDRT.Report
The error is "User defined type not defined". Why does the program give this error? Please help me with this problem.