Repeat value switch on grid field does not work on Text fields with lookup

If you set the Repeat value switch to off (don’t repeat)
image

, it is ignored if the field is a lookup. This is not logical as you want to supress this regardless.

It also doesn’t work on html image fields, but I think that is by design. (Still illogical).

A workaround for the first (Text) field is to do the lookup in the onRecord event, rather than in the field lookup. (This is just poor).
A workaround for the second (HTML Image) field is to set it as a text field then put the img details in the field in the onRecord event.

<img border="0" src="/scriptcase/app/IDMB_Project_System/_lib/img/scriptcase__NM__ico__NM__trash.gif">

This is even messier, because the way Scriptcase deals with this in the IDE is different to in production (Where the images are stored… depending on your IDE and server setups)… though you can use the global paths veraibles to simplify.