php generation error - missing argument for nm_db_field_type()

Dear list,
i have deleted two column in a grid db table,

no problem ina FORM code ( using syncronize table in Application menu : all work fine )

otherwise in a GRID / REPORT code this error appears when i try to generate code

2 = Missing argument 6 for nm_db_fields_type(), called in
C:\Programmi\NetMake\v7\wwwroot\scriptcase\devel\generator
m_gp_analiz_lookup.php
on line 310 and defined
C:\Programmi\NetMake\v7\wwwroot\scriptcase\devel\lib\php\database.inc.php 793

anyone has notice of this problem ??

NB the application is the same of the example project :
perhaps i must to convert this code to V7 ???

Roberto

in win32 / sc v7 / postgres 9

You cannot synchronize in a grid. So you need to delete the fields from the SQL menu manually. Then save and regenerate.

Exactly!

regards,
Bernhard Bernsmann