Book a Demo

Author Topic: EA Japanese Edition Impact on Automation  (Read 8394 times)

McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
EA Japanese Edition Impact on Automation
« on: September 20, 2017, 05:29:05 pm »
Hi all,

I'm currently having a customer from Japan using the Japanese edition of EA. I wonder, if the different language and in particular the different characters might brake something in our add-ins. I mainly think about plain SQL query interpretation going through Rep.SQLQuery() and Rep.Execute().

Did someone of you guys experience problems with that?

Many thanks!
Jan

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EA Japanese Edition Impact on Automation
« Reply #1 on: September 21, 2017, 09:01:43 am »
Is there are problem being reported by your customer?

You'll need to be aware that if they are using a JET 3 based database, values will probably be saved in the Shift JIS codepage.

It's also possible that the database contains translated text, where you're looking for a particular value. From memory this happens for object scenario types.


McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
Re: EA Japanese Edition Impact on Automation
« Reply #2 on: September 23, 2017, 10:42:44 pm »
Yes, actually I already found a problem, which is directly related to EA itself. When trying to open an EAP file that has been created with the Japanese version (I'm using the English version), EA signals "An Error has occurred: Unrecognized database format" and refuses opening the project.

Any ideas from Sparx side what the cause of this problem could be and how to solve this issue?

Jan

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: EA Japanese Edition Impact on Automation
« Reply #3 on: September 25, 2017, 06:09:42 am »
Yes, actually I already found a problem, which is directly related to EA itself. When trying to open an EAP file that has been created with the Japanese version (I'm using the English version), EA signals "An Error has occurred: Unrecognized database format" and refuses opening the project.

Are you able to open the same file from an non-Japanese version of Access?

McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
Re: EA Japanese Edition Impact on Automation
« Reply #4 on: September 25, 2017, 04:20:42 pm »
Are you able to open the same file from an non-Japanese version of Access?
Yeah, I used already MDB Viewer Plus to look into the database to find something suspicious, but with no success. My english EA, however, does not allow me to open the file. It's funny that an XMI Export of the same project (exported from Japanese version) followed by an XMI Import in my English version works.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: EA Japanese Edition Impact on Automation
« Reply #5 on: September 26, 2017, 09:28:09 am »
Are you able to open the same file from an non-Japanese version of Access?
Yeah, I used already MDB Viewer Plus to look into the database to find something suspicious, but with no success. My english EA, however, does not allow me to open the file. It's funny that an XMI Export of the same project (exported from Japanese version) followed by an XMI Import in my English version works.
Was it created on the same machine?  If not, check that both machines have the "Use Jet 4" checkbox marked in the Settings [Ctrl+F9] I think.

It may not be directly related to the Japanese version.

HTH,
PAolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EA Japanese Edition Impact on Automation
« Reply #6 on: September 27, 2017, 08:54:55 am »
Yes, actually I already found a problem, which is directly related to EA itself. When trying to open an EAP file that has been created with the Japanese version (I'm using the English version), EA signals "An Error has occurred: Unrecognized database format" and refuses opening the project.

Any ideas from Sparx side what the cause of this problem could be and how to solve this issue?

Jan
Go to the options and enable JET 4.

The good news is that if you have that issue, the text inside will saved as unicode instead of shift jis.