I have a self relationship on a contacts database.
I want to display a list of all contacts on all the records of this database for navigation purposes.
Instead of displaying normally, it blinks for half a second, then the whole list of names disappears! The portal remains empty.
Is that a bug, or am I doing something incorrectly?
Many thanks,
Maxime.
Hi Maxime,
- create a column(integer) in contacts named “one”.
- make a calculation named “one” (same name makes it a stored calc)
The calculation should do this : “return 1” - create a selfjoin-relation “contacts_to_contacts” in contacts with the column “one”
- make sure you have 2 forms, lets say “contactlist” and “contactDetails”
- in the form contactDetails (recordView), create a tabPanel : contacts_to_contacts.contactlist
You can try this in the crm demo, that’s shipped with servoy.
(The selfJoin contacts_to_contacts already exists)
Hope this helps you.