Book a Demo

Author Topic: search builder SQL queries missing  (Read 4611 times)

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
search builder SQL queries missing
« on: July 01, 2014, 01:13:29 am »
I created a lot of SQL queries in the search builder and for some reason I can't see them anymore. I've looked in older copies of the EAP file and they are not listed in the older EAP files either!

I built the SQL search builder queries using V10, is this somethin to do with V11 EA?

Any suggestions welcome.

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: search builder SQL queries missing
« Reply #1 on: July 01, 2014, 01:46:31 am »
Luckily I have resolved this one. I've determined that model searches or SQL searches are NOT stored within the EAP files. They are stored somewhere else on the PC as part of the local EA config set.

I had moved to a newer PC, but still had the old PC on hand, so after firing up the old one it was conclusive that model search SQL queries which you build for yourself(i.e. custom search) are not in EAP files!

Does anyone know where the Search builder stores custom SQL searches on the PC? would be useful to know and take a backup now and again!

Any suggestions?
« Last Edit: July 01, 2014, 02:05:16 am by k2901 »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: search builder SQL queries missing
« Reply #2 on: July 01, 2014, 02:20:07 am »
Registry HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\Settings\SRCH_SQL_LAST

q.

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: search builder SQL queries missing
« Reply #3 on: July 01, 2014, 02:22:58 am »
I decided to Export the Searches from the Old PC into XML using the Export option in the Search Builder, then re-import them into the new PC.

Queries work fine on the new PC now with reports and relationship matrices etc. Thanks for the additional tip thou.
« Last Edit: July 01, 2014, 02:23:52 am by k2901 »

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: search builder SQL queries missing
« Reply #4 on: July 01, 2014, 02:24:50 am »
Now going to perform Export Refecrnce Data from Old to New PC just in case there is anything else. Will also have alook at the registry on the old PC as well, joy!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: search builder SQL queries missing
« Reply #5 on: July 01, 2014, 09:28:21 am »
Also have a look in "%APPDATA%\Sparx Systems\EA"
The Sparx Team
[email protected]