Luc,

In the eep that calls your second form, place your refresh after the second 
form exits like
EDIT USING form2
PROPERTY form1listview REFRESHLIST 'TRUE'

Another way is to give each form a componentid. 
So when you are in Form2 you can issue this
PROPERTY form1id|listcomponentid REFRESHLIST 'TRUE'

Good luck,

Jan

-----Original Message-----
From: "Luc Delcoigne" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Sat, 22 May 2010 22:36:48 +0200
Subject: [RBASE-L] - re: refresh varlistview


Hi all,
 
I Have a form with a var listview that lists the patients of one 
specific day (as chosen between vBegindate and vendDate).
 From this form I create a new consultation in a second form.
 When I return to the first form, after the new consultation has been 
created and saved, this new consultation does not show up in the var 
listview, 
except when I manually change the vBegindate of vEnddate or when I refresh 
manually with the property '  ' refreshlist 'true'.

 How can I programmatically "refresh" a var listview in one form from 
another form, so that everything shows up when I return to the main form  ?
 recalc tables and recalc variables does not work.

I have tried with the Timer EEP, but then the listview always jumps back to 
the first row, so that is not what I want.
It is important that I refresh the listview in form A from form B.
 
How can I do this in the most elegant way?
 
Any ideas ?
 
Best regards, 
 
Luc Delcoigne

Reply via email to