How do you set the logon info if you want to user ingerated (nt security) with SQL 2000 OLEDB Driver?
We were using the following code with SQL Security
We were using the following code with SQL Security
Code:
FOR EACH otable IN ocrystal.reportobject.database.tables
otable.SetLogOnInfo('server','database','user','Password')
ENDFOR
[\code]
Which worked just fine with sql security.
I tried leaving out the last two parameters and setting them to an empty string, both return a 'Server has not yet been opened' error then the report is previewed.