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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

complete newbie to crystal reports needs help quick!

Status
Not open for further replies.

tylerjones

Programmer
Jan 4, 2002
10
US
Okay, I've got to create an invoice for a customer and someone on a message board told me that crystal reports is the best way to do this. So, I've tried playing around with it a bit, but from what I see, it looks like I have to create one big query that spits out the results on the form. Unfortunately, the way our database is set up, I have to run about 3 different queries to generate the page. So, for example, I need to put the billing and shipping addresses at the top of the page, so for shipping, I'd do something like....

select * from addresses where addresstype = 0

and then display the address info in the shipping portion. Then I need to do the same thing for billing, but where addresstype = 1. Then I have to go through all the customers order info too. So, as you can see, there's quite a bit that I have to pull in on one page and one query isn't going to do it all for me. So, can anyone tell me how to create multiple queries for one report?

Question number 2 has to do with feeding in the order information. In order to generate the form, it will all be based off of an order id. So, I'm used to asp which would do something like...

select * from orders where orderid = " & request.querystring("orderID")

... but I have no idea how to make the form dynamic like this in crystal reports. So, again, anyone know how to do this?

I guess if anyone knows of any tutorials that address this subject specifically, that would be wonderful. Thanks for any help you can offer!!!
 
Sounds like you need to read up on subreports and parameter fields. Tall order for a first report. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top