Hi!
Try:
SQLSETPROP(0,"DispLogin",3) && will never show login box, but will generate error if cannot login
SQLSETPROP(0,"DispWarnings",Flase) && recommended, set it to True for debugging purposes
>Hi All
>
>Can anyone please help with this.
>I have a command Create connection DSN=louis;Description=Asset;server=csg_ntserver_4;uid=louis;pwd =LOUIS; etc etc
>
>The problem is that when i go to the connection in the database the DISPLAY ODBC login prompts is on "when login information is not specified". I would like it to be on "NEVER" .
>
>How do i do this programmatically????
>
>Thanks
>Fida
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.