Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports, Data Grids

Status
Not open for further replies.

way1cool

Programmer
Oct 25, 2003
3
US
I am trying to get Crystal reports to pull from my data grid, instead of directly from my database. When I connect with my Project Data, I get a login screen during runtime that I can't get past to see if it's pulling the correct data. When I use my OLE DB {ADO}, it pulls all the data from the database. Please let me know if there is a way to pull from the data grid on the form, and just print a crystal report from there. Thank You, Betsy
 
It may be possible if you port your grid into a COM server, however this is a BAD idea.

Try posting your version as well, this matters.

The best solution would be to use the same SQL as your grid is using. If you are manipulating the data in your application, you have the wrong idea, let the database do the heavy lifting.

-k
 
I am using VB.NET, and the Crystal Reports Expert. I was told I could connect to the project data folder (as opposed to the OLE DB), in order to report the data in the data grid, but that only gives me a login screen where I have to put in a user ID, password, server name and database. I says Database login in the name area of the form. I don't know how to get past this if it is the only way to get the data. It seems to me it should be easier than this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top