|
-
Sep 7th, 2000, 09:36 AM
#1
Thread Starter
Hyperactive Member
Hello. Not sure if this is really a VB problem - i mean, i`m using Crystal Reports from Visual Basic but this problem may be fixable in the actual report definition itself.
I have a database hard-wired into my crystal report (c:\this\that\database.mdb) and i want to change it so it looks up a level, then down into \data.
c:\this\that\report\report.rpt
c:\this\that\data\database.mdb
so the path should be ..\data\database.mdb
but i just cant get the report to live with it! Any ideas?
Thanks,
Alex.
-
Sep 7th, 2000, 11:37 PM
#2
Junior Member
I think this is how you do it
put this in vb
CrystalReport1.DataFiles(0) = App.Path + "\data\database.mdb"
-
Sep 8th, 2000, 04:52 AM
#3
Thread Starter
Hyperactive Member
I think that is for the active x component. I`m using crystal reports v8 and the RDC component so that wont work.
Looks like what i want is
PESetNthTableLocation
but i havent got a clue how!
Thanks,
alex.
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
|