becks22
26th March 2009, 12:37
Dear All
I hav created a sessionZ ..The session is wrkin fine ..and i had attached it to the xx field of SessionX(the SessionX is in the zoom section of Y field of SessionY..Nw i need to import the 2 fields of SessionY into SessionZ ...Hw can i do that.....Please Help

baan.kmurali
26th March 2009, 13:17
you have to use import function..
eg:
import("expcprj",expcprj)
query.extension = "lplnt302._index1 = {:expcprj}

Regards,
Murali

becks22
26th March 2009, 14:54
Thanks for Reply..
But sir I am already using Import function but not able to get the fields

mark_h
26th March 2009, 16:21
Post the relevant code - in session y you would export and in session z would do an import.

Hitesh Shah
26th March 2009, 19:31
write import in both sess xx & zz.

becks22
28th March 2009, 12:10
I cant write in those sessions ....As both the sessions X and Y are standard sessions

Hitesh Shah
28th March 2009, 13:46
Then use following statments


long prntid
import("parent",prntid)
get.var(prntid,"varYY",varZZ)

mark_h
28th March 2009, 16:03
Or use one of the source extender programs - qkey, rmcis or Vamsi's method.

toolswizard
30th March 2009, 19:37
Is the variable declared as "extern"? You can only import variables that have been declared as external.