Open document from embedded view

My Form A contains a “custid” field and an embedded view.

Is there a way to pass the value of “custid” field in the document that i open from the embedded view.?

thanks…

Subject: open document from embedded view

I think it is possible, but to open documents in embedded view you have to use view action with LS code where by UnprocessedDocuments property you can get document selected in view, then you have to pass field value from current document to selected document and then using EditDocument method you can open selected document.In Queryopendocument event in embedded view you have to set Continue = False because you don’t want to open document directly (by double click) from view but by button on view.

Or maybe it is a easier way by programing Queryopendocument event in embedded view - look in DD help and example for that event. By Documents property you can get document which you want to open and then pass value from current document to that document - but i didn’t test that solution.

Konrad

Subject: RE: open document from embedded view

sorry konrad, i forgot to mention that my application is accessed via web. thanks…