Simplicty and flexibility!


Return Data To


Started by Peter Birney, PB Associates
Search
You will need to Sign In to be able to add or comment on the forum!

Return Data To

I am trying to get a recently migrated system (From 6.52) to function in a manner similar to the original.  I have replaced the simple Form Open Related commands with the combinations of Document Open, SetVar and GetVar, SelectionFilter successfully but I cannot see how to replace the functionality of the Return Data To command in the 'related' form.


Written by Peter Birney, PB Associates 12/07/19 at 16:34:28 Dataease [{8}]FIVE

Re:Return Data To

I have got as far as this statement in the button that returns to the original form (MaterialIssuesView):-

SetVar("BuildNo4",BuildNumber) + ReturnToParentDoc( ) + DocumentClose() + DocumentOpen("MaterialIssuesView")

What i am trying to do is close MaterialIssuesView (Via DocumentClose) and then open it again so that the dummy field that accesses the BuildNo4 variable is executed, but what i am getting is another copy of MaterialIssuesView opened (The latest copy displays the information that i require).  I have tried putting Waits in the midst of the line but that just causes Exception Errors.


Written by Peter Birney, PB Associates 14/07/19 at 18:26:55 Dataease [{8}]FIVE

Re:Re:Return Data To

Hi Peter

Have you tried DocumentCloseName() 

http://www.dataease.com/dg3_HelpView/?PageID=13723&field1=*DocumentCloseName*

I think this should solve your problem.

regards

Josef


Written by Josef Vella 16/07/19 at 08:29:47 Dataease [{8}]FIVE

Re:Re:Re:Return Data To

Hi Josef

Thanks for that, it seems to have made the difference!

I had looked at DocumentCloseName but why i chose not to use it i do not know.


Written by Peter Birney, PB Associates 16/07/19 at 10:36:16 Dataease [{8}]FIVE
DG3_ForumList