Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax to log on server in VB

Status
Not open for further replies.

RiverGuy

Programmer
Jul 18, 2002
5,011
US
Hi. If anyone knows the syntax to log onto an SQL Server from within VB, could you help me out?

I made a standalone report, using an SQL Server data source. I know you start out with Report.logonserver(). I don't know exactly what to put it.

Thanks.
 
LOL, nevermind, I just made an ADO connection using the designer instead.
 
^Bump^. I've got another pre-made report in Crystal that I would like to add to my VB app. It uses an SQL datasource connection. When its ran, it does not prompt the user to log onto the server like it does if you run it from Crystal. Is there anyway to auto logon or prompt the user to do so? This report is too complex to re-write in the designer.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top