Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cyclic relation

Status
Not open for further replies.

imonko

MIS
Aug 6, 2001
8
US
I get the following error when

DO FORM myForm

is executed:

&quot;Error loading file - record number 15. myForm <or one of its members>.Parent : Cyclic relation&quot;

This error does not occur everytime the form is loaded.
 
Hi
This error is due to the SET RELATION you have set in your DATA environment or thru your code.

Since you are telling that this code is appearing at random... obviously, you have some wrong code...

1. Check the forms you are opening without 'private data environment'... i.e. default data environment.
2. You are setting the realtion ship of alias A to Alias B in one form.. then in some other form, you are using Alias B to Alias A or Alias B to ALiAs C.. and then some where else again ALias C to Alias A.. (or some such cyclical relationship). This type of setting could be in one form., and the default environment form is again loaded with a contra relationship in its DE.
3. Resolution is to set the 'Private Data environment' for the form which is giving you the error.

Hope this helps you :)
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top