Hi,
a method not called will not cause a problem.
If a C0..05 is raised, there is a messagebox .[CTRL]+C the messagebox and paste the text. It will point to the method that raises the C0..05.
This method need some rework to circumvent the problem in the C code.
Lutz
>Hi Tore,
>
>I just examined my "report form" class code. There is a method which has a RETURN inside a WITH.. ENDWITH segment!
>
>My question though is this:
>
>This method though is not called during the Init(), when the form is still being constructed. It is only called when the forms finally appear, then the user selects his parameters, then clicks on the Go button, which fires this method which has WITH.. ENDWITH clause.
>
>Why then does C00005 come out even before the form appears?
>
>Thanks
>Dennis
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]