|
-
Jun 25th, 2007, 10:14 PM
#1
Thread Starter
Junior Member
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?
-
Jun 26th, 2007, 06:02 AM
#2
Re: Crystal Report Showing has some problems on another person's Computer
Hi.
Are you sure your database is available to the other users?
"The dark side clouds everything. Impossible to see the future is."
-
Jun 27th, 2007, 01:11 AM
#3
Thread Starter
Junior Member
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
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. =)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|