*SHOWSTOPPER* Cannot use lookup fields in grid

As of the new version installed today:

If you create a standard grid application and use a lookup on a keyfield then generating code will give an error:

2 = Invalid argument supplied for foreach()
C:\Program Files (x86)\NetMake\v7\wwwroot\scriptcase\devel\lib\php\database.inc.php 1184

It looks to me that a wrong lookup screen is shown here as this is a lookup screen which useually is used for a field of type ‘select’. But this is a grid application so…

This is a real showstopper as I don’t want the user to see codes, but names. I have used this all over my applications, so I cannot generate any more…

Ok, it’s not a showstopper as I can set the field ‘use lookup in grid’. Is that new? Please restore the old behaviour.

I now get loads of

Invalid argument supplied for foreach() | Script: C:\Program Files (x86)\NetMake\v7\wwwroot\scriptcase\devel\lib\php\database.inc.php linha: 1184

when generating applications. Retrying the generation useually goes well, so there has been some changes with mystic effects. But it’s realy annoying.

Where?

(filler text)

This is a field in the block to set the lookup. It’s a pulldown.

Hello,

Issue reported to our bugs team.

regards,
Bernhard Bernsmann