Hi,grateful as ever for any kind advice.
Currently I’m using a button to populate a field on a form by using this Formula.
choice:=@PickList( [Custom] ; “” ; “NO” ; “Transfer Incident Report” ; “Please select the Nominated Officer who is responsible for this incident” ; 2 );
@True;
@SetField(“NomCN”;choice);
@SetField(“ROff”;choice);
@PostedCommand([FileSave]);
@PostedCommand([FileCloseWindow])
This works fine by taking the value from column 2 of the View “NO” and inserting it into my 2 fields called NomCN and ROff.
I would now also like to take the values of the 3rd column from the NO view and insert these into another 2 fields on the form.
Therefore when a selection is made from the picklist the values from the 2nd column of view “No” go into NoMCN and ROff and the values of the 3rd column go into “DepCN” and “DOff”.
Is is possible to do this by using @Picklist or can I only pull the contents of one column.
Really grateful for any advice.
many thanks
Charley