try something like this:
go in Codeunit 50500 and change "Object.Caption" and "Field.CAPTION" to "Object.Name" and "Field.NAME".
I didn't try it out, but I think it is that.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
-my advice is to ALWAYS put RESET-SETCURRENTKEY-SETRANGE/SETFILTER so it is clear and sure there are NO other filters active.
-no need to do a FIND('-') before doing a DELETEALL. This creates an extra DB-read that is not needed. (and instead of FIND('-'), it would also have been better FINDFIRST for SQL).
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Comments
we've got a non english installation, so the table header captions are different to table names.
after adding or updating the table informations to the table viewer, the table caption field will not be filled with any information.
how can i fix this?
thx
go in Codeunit 50500 and change "Object.Caption" and "Field.CAPTION" to "Object.Name" and "Field.NAME".
I didn't try it out, but I think it is that.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
in table 50500:
"OnDelete()"-trigger:
original code: Better code: -my advice is to ALWAYS put RESET-SETCURRENTKEY-SETRANGE/SETFILTER so it is clear and sure there are NO other filters active.
-no need to do a FIND('-') before doing a DELETEALL. This creates an extra DB-read that is not needed. (and instead of FIND('-'), it would also have been better FINDFIRST for SQL).
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I would suggest a "NOT ISEMPTY" ...
But indeed ... I wouldn't write the "IF" either.
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog