Computing.Net > Forums > Programming > crystal reports with access and vb.

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

crystal reports with access and vb.

Reply to Message Icon

Original Message
Name: secrets
Date: September 5, 2005 at 12:21:15 Pacific
Subject: crystal reports with access and vb.
OS: Windows
CPU/Ram: 2.4HT
Comment:

i have a access database password protected......and on front end i am using vb.net 2003,
now problem is that i have created a crystal report which will print some info...i am calling that report from a crystal report viewer in vb.net...but when i run the application that report requires password and database location.....
how can i provide these information through coding in vb...so that it wont require them by user...i have visited the crystal report site but there are only tutorials located about sql or other not about access????


Report Offensive Message For Removal


Response Number 1
Name: secrets
Date: September 7, 2005 at 10:56:15 Pacific
Reply:

well! guys after some great search...
i found many ways to do this..but all of them was not working with database level access security....
but the best option is to use Ado.net.....create a report with that thats a best option.


Report Offensive Follow Up For Removal

Response Number 2
Name: saurinkhamar
Date: September 23, 2005 at 22:38:03 Pacific
Reply:

You can use following solutions.
1)Click on
Database
Database Expert
Create New Connection
File System Data
Create New file with required fields to print report

Or to set this thing at the time of adding new report.

Now Add this fields later to the your report

2) Create Object of report and provide parameters if ur r using.
rpt.ParameterFields(1).AddCurrentValue (55)
3) Set Database source with recordset Nomatter what database u r using oracle, mssql or ms-access
rpt.DATABASE.SetDataSource rs
4)Export, print or view report
rptCheque.Export True

Hope u will find this enough.

-Saurin


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home



Results for: crystal reports with access and vb.

VB 6.0/Crystal Reports
    Summary: Is it possible to pass the values of global variables from user input on a vb form into the SQL query of a Crystal Report form. I am trying to get the user to fill out the necessary information for a...
www.computing.net/answers/programming/vb-60crystal-reports/1374.html

Crystall report with access xp
    Summary: When I add database created with access xp i can't see the table and fields iand i fields1 appeare ...
www.computing.net/answers/programming/crystall-report-with-access-xp/13811.html

Access Reporting With VB
    Summary: hi all Access and VB Masters any one know how to use the Access Reporting in VB Project. please resply as soon as possible. Thanx ...
www.computing.net/answers/programming/access-reporting-with-vb/3946.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History






Data Recovery Software