
vb6.0 and crystal report 7.0
You might want to code in the database name and table name
in your program. If your database is on a different directory on
the nt machine, you will get the error.
Something like:
CrystalReport1.DataFiles(0) = App.Path & "\" & DataBaseName
This assumes the database will always be in the same directory
with the program.
If not, change App.Path to your own path.
Jerry
Quote:
>Vb 6 an crystal report
>Please help
>I work with sybase 11.xx sql database under a unix system
>My problem is:
>When i start to run my report under (win nt) vb 6 ( the *.rpt file)
>The program will stop because the connection to the database
>Is not open.
>Can someone help me and send some code which makes the connection
>to the database ?
>I am using a sybase nativ driver.
>Thank and regards
>Bertram karcher