eric.dizon
11th June 2013, 23:12
Hi,

Anybody has this issue before. I have custom main MMT session with cano field (case number). I have satellite session within the MMT that calls a synchronized dialog to enter details to that satellite session. Illustrated in the attachment below. I am trying to import the cano field from the satellite/MMT session to the synchronized dialog but no value is showing when I debug. Any suggestions?

before.program:
import("tdsmi500.cano", tdsmi506.cano) | Transfer ext var to current field

5521

bhushanchanda
11th June 2013, 23:25
Have you tried this:-

get.var( parent, "variable", value).

JaapJD
12th June 2013, 09:58
Bhusans suggestion gives the same result as the import function. Try this:

long gp
import("parent", gp)
get.var(gp, "tdsmi500.cano", tdsmi506.cano)

bhushanchanda
12th June 2013, 11:28
Hi Jaap,

I missed to add a few lines to that post. Sorry. Yes, it works the same as import. But what if we use it two times? The first time it will get the value from grandparent to parent and the from parent to child?

I have not tried it though. Well, but if your's code snippet works, then its good :)

eric.dizon
2nd July 2013, 18:46
Thanks bhushanchanda and Jaap. That works like a charm!