ZuluScript: Custom Columns in Pilot Logbook Setups When creating a custom column setup, for each position you can specify either a predefined column (e.g. "Aircraft ID") or use a script to create a custom column value, in which case you'll select "Script Column" from the drop-down and enter your script on the right-hand side.
col_value rather than currency_ok.
if (getfieldnum("Night Full Stop") >= 3)
col_value = "Night Currency";
else
{
var nn = getfieldnum("Day Full Stop") +
getfieldnum("Night Full Stop") +
getfieldnum("Day Touch/Go") +
getfieldnum("Night Touch/Go");
if (nn >= 3)
col_value = "Day Currency";
else
col_value = " ";
}
col_value to the
appropriate string for this column, based on the number and types of landings
performed.