2 Attachment(s)
Crystal Report Showing has some problems on another person's Computer
I have no problem displaying the search results in my computer, but when i copy and paste the whole folder for the VB solution into a network drive in my company, another person from another Computer try to open from there but it prompts us to login. i dont remember putting any password for the logging in of Database.
2 Screen shots of what was prompt and after pressing enter as i didnt assign any password in the first place, another error pop out. Anyone know hows to solve this? :confused:
Re: Crystal Report Showing has some problems on another person's Computer
Hi.
Are you sure your database is available to the other users?
Re: Crystal Report Showing has some problems on another person's Computer
Not sure abt that Asgorath. But i kinda solve the problem without really knowing how. haha :wave:
shall put the code here.
Code:
Private Sub logonToDatabase()
Dim crTableLogoninfos As New TableLogOnInfos
Dim crTableLogoninfo As New TableLogOnInfo
Dim crConnectionInfo As ConnectionInfo
crTableLogoninfos = New TableLogOnInfos
crTableLogoninfo = New TableLogOnInfo
crConnectionInfo = New ConnectionInfo
With crConnectionInfo
.ServerName = "path where the database is"
.DatabaseName = "database file name"
.UserID = "user id assigned"
.Password = "password assigned"
End With
crTableLogoninfo.ConnectionInfo = crConnectionInfo
End Sub
i think it kinda like help me key the stuffs in to the pop up. so i wouldnt see it during runtime. =)