Incorrect circular references?

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
DevGiu
AppGini Super Hero
AppGini Super Hero
Posts: 151
Joined: 2016-05-27 09:08

Incorrect circular references?

Post by DevGiu » 2016-05-29 22:11

Hi,

I have 2 tables.

Table A. Address
id
name
FKcustomer

Table B Customer
id
name
defaultAddress (tbableA id)

Only way to set Address as child of Customer is to lookup FKcustomer to Customer, but then, I can set lookup on default address because circular reference.

Some idea?
/Giuseppe
Professional Outsourcing Services

DevGiu
AppGini Super Hero
AppGini Super Hero
Posts: 151
Joined: 2016-05-27 09:08

Re: Incorrect circular references?

Post by DevGiu » 2016-06-06 09:00

Nevermind about this, I forgot to update this post. Was my fault with a bad database design. Remember to stop working after 12 hours
/Giuseppe
Professional Outsourcing Services

Post Reply