mojays
25th April 2006, 11:41
Hello,

after I changed an enum domain (I changed some descriptions and added some enum fields), I get problems in my reports.
The description of the new enum fields is not printed. An empty string is printed instead, although the table field is filled with the correct enum number (tested in debugger).
In "General Table Maintenance" the enum description is shown correctly too.

I should note, that I did a "Convert to Runtime Data Dictionary" (ttadv5215s000) with "Domains", "Tables" and "Reconfigure Tables" options checked, after changing the enum domain.

Temporary I solved this problem by using enum.descr$(..) manually in one report. But I think this is not a good solution, because I don't want to change all my reports the enum domain is used in.

Kind regards...

Martin

mark_h
25th April 2006, 15:38
I can think of lots of little things to check - After the convert to runtime, you did log off and back into the system correct? Make sure the field length on the report is big enough to hold the field. In one case where a domain stopped working I had to edit the report, pull up the field, then save everything and recompile to get it to work. I did not make any changes to the report, but a simple re-compile would not work. The report worked after just pulling up the report field, saving and recompiling. Never had this happen to a bunch of reports - but here and there I have had quirky problems like this.

mojays
26th April 2006, 09:46
I can think of lots of little things to check - After the convert to runtime, you did log off and back into the system correct?
Of course!

Make sure the field length on the report is big enough to hold the field.
Hmmm... that is a point, I will check. But normally it is not a problem, if the report field is less then the enum string field (or vise versa). In my experience the enum describtion is cut in this case.[/QUOTE]

In one case where a domain stopped working I had to edit the report, pull up the field, then save everything and recompile to get it to work. I did not make any changes to the report, but a simple re-compile would not work. The report worked after just pulling up the report field, saving and recompiling. Never had this happen to a bunch of reports - but here and there I have had quirky problems like this.
I actually removed the field (in one report!) and recreated it. But with no success. Maybe I try this with all reports, the enum domain is used in.

I will report the results. Thanks for the tips...

Martin

mr_suleyman
26th April 2006, 09:59
Himm It is very strange problem not to be happened.Try followings
1- remove domain.
2- convert it with all ranges ( - zz)
3 - restart your baan client
4- delete records from tools table -> ttadv500,ttadv501,ttadv502,ttadv503,
ttadv504 and commit by using SQL .
5- restart your baan client.
6 - create your new domain
7 - Convert it with all ranges
8- restart your baan client.
9 - CHECK THE REPORTS

May be this would be helpfull for you !

Good luck !