Portal blink on self-relationship

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Portal blink on self-relationship

Postby Maxime » Tue Jul 08, 2003 2:29 pm

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.
Maxime
 
Posts: 1
Joined: Tue Jul 08, 2003 2:25 pm

Postby maarten » Thu Jul 10, 2003 6:09 pm

Hi Maxime,

1) create a column(integer) in contacts named "one".
2) make a calculation named "one" (same name makes it a stored calc)
The calculation should do this : "return 1"
3) create a selfjoin-relation "contacts_to_contacts" in contacts with the column "one"
4) make sure you have 2 forms, lets say "contactlist" and "contactDetails"
5) 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.
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: Google [Bot] and 4 guests