Refresh embedded views

Hello!

I have a big problem, i have a “main” document holding an embedded view. From this document one is able to create several other documents wich is supposed to show up in the embedded view (not responses). What happens in that after the first document has been created, nothing appears, not until i have created two documents… And when i have change some values of the embedded documents then the reflection is not shown in the view. Of course it does update when i press F9, but i need to automate this. I have tried LS view.Refresh in the query close section of one of the additional documents, but i cant get it to work… The embeded view is a single categorized view… any ideas???

TIA Lars Larsson

Subject: Refresh embedded views

I had the same problem as you. I did not find a solution.

If you create the new documents form action buttons on the embedded view, then the first document shows up after a ws.ViewRefresh. No way to make them show up with code in the containing form.

I’m using more and more folders wich I populate ‘on the fly’. That’s not allways possible (performance!), but it gives more control.