>
>Hi everybody,
>>
>>Why this code
>> IF TYPE("thisform.toCallingForm.cntMainInfo.Employee_queue_activity_bizobj1") = "O"
>>
>>gives me .f. though I do have this object on the calling form? toCallingForm has a an object reference to the calling form
>>
>>How should I fix this?
>>
>>Thanks.>
>
>VARTYPE(thisform.toCallingForm.cntMainInfo.Employee_queue_activity_bizobj1) = "O"
>
>or
>
>PEMSTATUS("thisform.toCallingForm.cntMainInfo","Employee_queue_activity_bizobj1",5)
>
Well, I found two problems <g>
First of all, the property is named oCallingForm and not toCallingForm.
Secondly, even if we're passing the toCallingForm parameter in the Init of the form, we're not assinging it to the form's property.
No wonder this would not work <g>
If it's not broken, fix it until it is.
My Blog