-
Date check error..
Hi..
Am using vb6.0, SQL 2000 server and crystal report 8.5 in my project. Am trying to creating .exe file, but getting user defined type not defined error.. But my project is running properly.. I think i ve to add some reference to project. I don know which reference to add so can anyone tell me....
Thanks in advance..
-
Re: Date check error..
When you create an exe it does a full compile and examines all the code in the project. When you run it from the IDE it examines only the code that is running. What is the code that is being flagged when you compile?
-
Re: Date check error..
From the IDE you can force a full compile before running by using Ctrl+F5 to run the app instead of just F5.
-tg
-
Re: Date check error..
That looks like there is some unused code or mistyped variable or data type name somewhere in the code which is only executed under some circumstances.
You should
a) make sure you have Option Explicit on top of your forms and modules to prevent such spelling errors from the beginning,
b) locate the mistyped name and correct the problem by finding out what the problem is.
I doubt that there is a reference missing...