Neal Matthews
12th February 2007, 16:54
Hello,

I have a form that is automatically called as a zoom session. The form is a type 3 multi-occ+view+main.

The form shows faults by service type (of which there are 4). The service type is entered in the main session. When I come to enter the fault type I want the form to be defaulted to the correct service types and initially only show the faults next to that service type.

Hence if the shop floor need an electrician I want them to be prompted to select only the fauts next to the service type electrician.

What's the best way to acheive this sort of functionality with or without development ?

Cheers
Neal

en@frrom
12th February 2007, 17:16
If you have the source code, you can achieve this by using - depending on the (type of) session - either query.extend.where.in.zoom(), or just assign the right values to the zoomed to fields, i.e. before.zoom:<table.field. in zoomsession> = parent's value.

If you want to solve this in the zoomed to session, you can add an import (and if necessary a find.data) in the zoom.from section...

Hope this helps. If you need more help, please give us specific examples, sessions, your current code etc

Regards,
Eli Nager

Neal Matthews
13th February 2007, 11:21
Hello Eli,

Went for the option

before.zoom:<table.field. in zoomsession> = parent's value.

Works really well.

Thanks for your help.
Cheers Neal