Hi Alex,
as the code looked ok, just tried it and it works for me... placing it in init after the super() call should be perfect.
Are you sure that you have the proper label files installed?
Tobias

      -----UrsprÃngliche Nachricht-----
      Von: a_zappia [mailto:[EMAIL PROTECTED]
      Gesendet: Di 19.04.2005 15:13
      An: development-axapta@yahoogroups.com
      Cc:
      Betreff: [development-axapta] Setting the language of a report
     
     




      Hi everybody, I've got a little trouble setting the langauge for a
      report. What I'd like to see is that the report labels are displayed in
      the language of the customer (not in my application language).
     
      I used a code like this:
     
          str lang;
          element.design().languageID("en-gb");
          lang=element.design().languageID();
     
      replacing "en-gb" with the proper value readen from the customers' table
     
      I placed this code in the init and in the fetch method of my report,
      but it didn't work at all, the variable "lang" (used only for debugging
      purpouses) will not setted and equals "".
      What's wrong with this?
      Many thanks in advance!
     
      Alex
     
     
     
     
     
     
     
     
     
      Yahoo! Groups Links
     
     
     
     
     
     
     
     



[Non-text portions of this message have been removed]






Yahoo! Groups Links

Reply via email to