.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 29th, 2005, 10:27 AM
ngcSofte ngcSofte is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 3 ngcSofte User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 13 sec
Reputation Power: 0
VB, Crystal Reports and Access

I need to call a crystal report from VB.NET that uses user input paramters for the report and queries an MS Access database. What is the best way to do this?

Currently, in VB.NET I have written a query as a string (i.e. qry = "Select * from myTable where time = " & userInput ) I need to save this query to Access such that Crystal Reports may reference that query. I am very new to all of these (especially Crystal Reports,) so I'm pretty lost as to how to do this.

I tried (and almost succeded) in just loading the query into a dataset and then using the dataset to generate the report. it worked fine when I only used one table. But when I used multiple tables (qry = Select table1.*, table2.*, table3.* from (join...)) I couldn't figure out what to name my dataset (da.fill(ds, "???") for it to work. I'm pretty sure this is the issue since my other report using one table didn't work until I named my ds the same as the table in access.

is there any other way to do this? My biggest problem is I don't know how to work with Crystal Reports.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > VB, Crystal Reports and Access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT