there are few ways to do this
lets say you wanna pass li_temp1 and li_temp2 to a window
1. quick & dirty fix:
OpenWithParm(w_employee, string(li_temp1)+"|"+string(li_temp2)
And in the open event of w_employee
string ls_messsage
ls_message = message.stringparm
You can then use Pos() & Mid() functions to extract the integers out of ls_message
2. Recommeded way
Create a new structure called s_int
This structure has two integers. [int1 and int2]
s_int lstr_int
lstr_int.int1 = li_temp1
lstr_int.int2 = li_temp2
opensheetwithparm(w_employees,lstr_int)
and in the open event of w_employees
s_int lstr_int
lstr_int = message.powerobjectparm
and then use lstr_int.int1 and lstr_int.int2
cheers
MM