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.
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.
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