Page 1 of 1

related records relationship problem

PostPosted: Tue Jun 19, 2012 7:53 pm
by cookie720
Hello all,

When creating an new order record, and selecting a client ID from a drop down i have (or creating a new clients record by clicking "other....") I cannot see the newly created client in my related records of my orders table. Thus, I can only see a client if I create it by clicking "add new clients record" in the related clients tab.

Is this a bug of some sorts??

my relationships are crossed over so clients relationships.ini has
[orders]
orders.ClientID = "$ClientID"

and orders relationships.ini has
[clients]
clients.OrderID = "$OrderID"

the reason for this is so that i can look up what orders my client has, and look up what client is on a particular order

Re: related records relationship problem

PostPosted: Tue Jun 19, 2012 9:24 pm
by cookie720
OK i switched around
[clients]
clients.OrderID = "$OrderID"
to
[clients]
clients.ClientID = "$ClientID"
in my orders' relationships.ini

and that fixed my problem.

in my clients relationship.ini:
[orders]
orders.ClientID = "$ClientID"

I also deleted orderID from clients as that is a no no