Book a Demo

Author Topic: Can automation load a database repository?  (Read 5292 times)

mpolo

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Can automation load a database repository?
« on: February 10, 2005, 03:33:29 pm »
LoadProject and Repository.OpenFile seem to only refer to .EAP files, is loading a DB repository possible? I'd like to use the word document creation samples.

Thanks in advance,

Michael

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Can automation load a database repository?
« Reply #1 on: February 10, 2005, 08:58:31 pm »
Hi Michael,

the same methods can be used to connect to a DBMS repository. Instead of a filename, pass as a parameter the connectstring as you can see it in EA when you click on meny File > Open.

Hope this helps!

Bruno

mpolo

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Can automation load a database repository?
« Reply #2 on: February 11, 2005, 10:58:23 am »
Well whaddya know?

Worked well,

now to turn the sample word doc creator into a console app...

Thanks!

Michael

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Can automation load a database repository?
« Reply #3 on: February 11, 2005, 11:12:49 am »
No problem at all!

Bruno

zack2

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Can automation load a database repository?
« Reply #4 on: April 22, 2005, 12:33:14 pm »
Thanks after the fact. I was just about to post this question when I came across this response. It worked like a champ. The next time you update the automation interface documentation, I would recommend that you post an example of this. This was a poser for a while.