Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Circular unit problem

7 views
Skip to first unread message

Thomas Colvin

unread,
Jul 14, 2008, 1:40:24 PM7/14/08
to
Am continuing to work on my project and just ran into a circular unit
problem.

form1 is naturally the one can not close with out shutting the application
down so I do know that.

But starting with form2 I have series of buttons to go to form3, form4,
form5 and form6. They all work and function properly. Then on form3 have a
button to go to form4. The problem occured when going to form4 and trying to
put a button to click to go to form3 (basically going back to form3 from
which you came).

That is when I got the error "circular unit reference to form3". So how do I
overcome this problem?

Thanks, Thomas


Marc Rohloff [TeamB]

unread,
Jul 14, 2008, 1:49:08 PM7/14/08
to
On Mon, 14 Jul 2008 10:40:24 -0700, Thomas Colvin wrote:

> That is when I got the error "circular unit reference to form3". So how do I
> overcome this problem?

Make sure that you add the forms' units to the uses clause below the
'implementation' line (and add one if it's not there) not the uses
clause below the 'interface' line.

--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com

0 new messages