|
-
June 3rd, 2003, 07:31 AM
#1
Crystal Reports - DSN
Hi everybody!
i have a problem here...
how can my report "understands" the new DSN i ve given my DB???
what i mean, is that how can i set my report s DSN dynamically???
thanx
Last edited by etatis; June 3rd, 2003 at 07:34 AM.
klain main froilain...
-
June 4th, 2003, 04:37 AM
#2
Hi again!
Thanx everybody who read my post, but i found the way to do it....
if this helps anybody........i m gona be
Report.DiscardSavedData
For i = 1 To Report.Database.Tables.Count
Report.Database.Tables(i).ConnectionProperties.DeleteAll
Report.Database.Tables(i).ConnectionProperties.Add "DSN", newDSN
Report.Database.Tables(i).ConnectionProperties.Add "User ID", newID
Report.Database.Tables(i).ConnectionProperties.Add "Password", newPWD
Next i
klain main froilain...
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
|