Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 24 OCT 2006 03:49:32AM Jonathan Bird wrote:

Can someone let me know what is happening here. Depending on a switch on thr OI command line (which I can get) I want to set the name of the ODBC driver my connection object connects to. Here is the code snippet, but it does not seem to work. Any ideas?

ODBCDriver=Field(Switches,'=,2)

Entid =@appid : "*DATASOURCE*CONNECTION*FIREBIRD"

Doc =Repository('ACCESS',Entid)

Sucess =Compdoc(CD_GETDOC$,Doc,'ODBC',Def)

Def =ODBCDriver

Sucess =CompDoc(CD_PUTDOC$,Doc,'ODBC',Def)

Toot =Repository('COMPILE',Entid,1,0,0)


At 24 OCT 2006 05:19AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Jonathan,

You need to write the amended doc away to the repository before you can compile it…

The Sprezzatura Group

World leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/33b2d5e5bd8a81dd85257211002afcc4.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1