|
-
July 17th, 2009, 01:56 AM
#1
SubReport unable to open database file
Using VB6, MS Access 2000 mbd and Crystal Reports 8.
I set the database for the report with
Code:
Report.Datafiles(0) = App.Path & "\Database.mbd"
Now I want to move my reports into their own directory (Reports) under the program directory to clear up the clutter in the application directory. The databases will stay in the application directory (or might be moved into their own directory as well). Changed the location with
Code:
Report.Datafiles(0) = App.Path & "\Reports\Database.mdb"
All the reports with no subreports works 100%. All the reports that contains subreports error out saying Run-time error '20533': Unable to open database.
I have different databases, that's why I need to pass the database to use to the report but each report uses only the one database passed. The main report as well as the subreports uses the same passed database.
What am I missing here?
-
July 19th, 2009, 04:30 AM
#2
Re: SubReport unable to open database file
HI
I want ask you very important quotation for my master
I HAVE PROJECT Visual Basic 6.0 BUT ALL Saved as one text file how can recreate the project from this text file I cut it to multi text files and save it as frm files and try to import it but I have error because I have not frx file
How can fix this problem
Edit by admin: no contact info permitted on the forum, thank you
Thanks
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
|