New records aren't broadcasted

Questions and answers for designing and implementing forms in Servoy

New records aren't broadcasted

Postby madimane » Sun May 17, 2015 8:37 pm

Hi all,

I have a form based on a foundset which is filtered by a foundset filter param onShow event.
I realize that when i add new records and save them, the broadcast is not done (other clients don't see the new records until they show the form again).
On the other side, if i update an existant record, the broadcast is done perfectly.

Is it an expected behaviour or am i missing something?

Thank you in advance for your help.
Othmane himadi
Analyst / Developper
Freelancer
---------------------
Whether we want it or not, being a developer means documenting our code is a necessity
User avatar
madimane
 
Posts: 85
Joined: Tue Oct 13, 2009 5:16 am
Location: Montréal,QC,Canada

Re: New records aren't broadcasted

Postby jasantana » Sun May 17, 2015 11:56 pm

At which point are you storing the field that filters the foundset?
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
Servoy MVP 2015
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: New records aren't broadcasted

Postby jcompagner » Mon May 18, 2015 10:06 am

where do you show the new records in in the other clients?
in related foundset? or in a normal/shared/separate foundset?

because only related foundsets will re query them selfs, we don't push new records in normal/none related foundsets.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: New records aren't broadcasted

Postby madimane » Tue May 19, 2015 1:31 pm

Thank you for your replies guys.

Juan
At which point are you storing the field that filters the foundset?

I'm updating the foundset filter param OnShow of the form.

Johan
where do you show the new records in the other clients?

On the same form!

in related foundset? or in a normal/shared/separate foundset?

In Default namedFoundset.

because only related foundsets will re query them selfs, we don't push new records in normal/none related foundsets

Thank you Johan, this is what i want to know.
Othmane himadi
Analyst / Developper
Freelancer
---------------------
Whether we want it or not, being a developer means documenting our code is a necessity
User avatar
madimane
 
Posts: 85
Joined: Tue Oct 13, 2009 5:16 am
Location: Montréal,QC,Canada


Return to Forms

Who is online

Users browsing this forum: No registered users and 9 guests