I am tring to load a Crystal Report (8.5 Dev. version) in ASP (Visual Interdev 6)that pulls data from an Access (97)database. I have a system DSN ("MRF_DB" set as a Microsoft Access driver that has the database location set, and there is no password. Here is my code to set the database:
session("oRpt".Database.Tables.Item(1).SetLogonInfo "MRF_DB"
session("oRpt".Database.Tables.Item(2).SetLogonInfo "MRF_DB"
I have also tried setting the table names:
session("oRpt".Database.Tables.Item(1).SetLogonInfo "MRF_DB", "Table1"
session("oRpt".Database.Tables.Item(2).SetLogonInfo "MRF_DB", "Table2"
...But both ways will load the viewer, but I get an error saying the server has not been opened. Any Suggestions?!
session("oRpt".Database.Tables.Item(1).SetLogonInfo "MRF_DB"
session("oRpt".Database.Tables.Item(2).SetLogonInfo "MRF_DB"
I have also tried setting the table names:
session("oRpt".Database.Tables.Item(1).SetLogonInfo "MRF_DB", "Table1"
session("oRpt".Database.Tables.Item(2).SetLogonInfo "MRF_DB", "Table2"
...But both ways will load the viewer, but I get an error saying the server has not been opened. Any Suggestions?!