CompDoc or Repository('Compile'... help needed (OpenInsight 32-bit Specific)
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…
World leaders in all things RevSoft