kul_sach
28th March 2003, 12:05
hi..
Can anybody tell me , is optional zoom is possible on form level .

Thanks in advance

Kush

morpheus
28th March 2003, 12:15
Yes, you can use attr.zoomsession$ for this in your script.

kul_sach
28th March 2003, 12:25
Could you be more specific? Can you give some example?
My problem is that I want to zoom to 2 different sessions based on the value of some field on the form. The problem is that I can zoom to different sessions using zoom.to sessions in the script, but the problem is that I am not able to get the return values from the zoom session & also I need to specify some zoom session on the form field, and the system zooms to this session also by default.

:(

morpheus
28th March 2003, 12:36
field.<field1>:
before.zoom:
if <condition> then
attr.zoomsession$ = "<zoom session2>"
attr.zoomreturn$ = "<return field>"
endif



On the form field, you can specify zoom.session1, and it's return field. If the condition holds true, then session2 will zoom and it's field will be returned, else session1 and it's field will come into play.
Hope this helps.

kul_sach
28th March 2003, 12:41
Thanx, it is working as required....

:)