By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,489 Members | 1,954 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,489 IT Pros & Developers. It's quick & easy.

Problem using window API Access 2003

P: n/a
Hi All,
Using the instructions given from
http://www.mvps.org/access/forms/frm0042.htm , I am trying to align 2 forms
when the second form is opened. The problem I have is that when compiling
the project, "Public Property Get Parent() As clFormWindow" throws up as
"User-Defined type not defined" error.

I have imported the class module from the web page.
I'm guessing that I need to set a reference but do not know where to start
:o(

Could someone offer any advice?

TIA,

Mark
May 10 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Tue, 09 May 2006 06:57:54 GMT, "Mark Reed"
<ma*********@ntlworld.com> wrote:

When you added clFormWindows.Bas to your project, you did not make it
a Class Module, and/or you did not name it clFormWindow.

-Tom.

Hi All,
Using the instructions given from
http://www.mvps.org/access/forms/frm0042.htm , I am trying to align 2 forms
when the second form is opened. The problem I have is that when compiling
the project, "Public Property Get Parent() As clFormWindow" throws up as
"User-Defined type not defined" error.

I have imported the class module from the web page.
I'm guessing that I need to set a reference but do not know where to start
:o(

Could someone offer any advice?

TIA,

Mark


May 10 '06 #2

P: n/a
Tom your an absolute star.....I did make it a class module (although I have
no idea about the difference between a standard module and a class module)
but due to my ignorance, I never named it clFormWindow!!!!!

Many thanks,

Mark

"Tom van Stiphout" <no*************@cox.net> wrote in message
news:d3********************************@4ax.com...
On Tue, 09 May 2006 06:57:54 GMT, "Mark Reed"
<ma*********@ntlworld.com> wrote:

When you added clFormWindows.Bas to your project, you did not make it
a Class Module, and/or you did not name it clFormWindow.

-Tom.

Hi All,
Using the instructions given from
http://www.mvps.org/access/forms/frm0042.htm , I am trying to align 2
forms
when the second form is opened. The problem I have is that when compiling
the project, "Public Property Get Parent() As clFormWindow" throws up as
"User-Defined type not defined" error.

I have imported the class module from the web page.
I'm guessing that I need to set a reference but do not know where to start
:o(

Could someone offer any advice?

TIA,

Mark

May 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.