SunQuest
 
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old September 21st, 2004, 01:14 PM
Kristin Kristin is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 56 Kristin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Help with data report

Hi all!!!

I would like to know...

Is there a way, in a datareport, bound to a query, to get some of the fields to only show once, instead of for every record the query is returning? I am trying to create invoicing for a company, and I only need the company and billing information to come up once, but you can't put a bound field in the header section of a datareport... here is my query, I would love some input or suggestions.

SELECT company.company, company.billingcontact,
company.billingaddress, company.billingaddress2,
company.billingcity, company.billingstate, company.billingzip,
records.lastn, records.firstn, records.donorid,
records.collecteddate, records.cost, records.invoicenum
FROM records INNER JOIN
company ON records.mrocomid = company.mrocomid
WHERE (records.invoicenum = ?)

- all the fields from the company table I would like to be in sort of a header section.

any ideas??

thanks
kristin

Reply With Quote
  #2  
Old September 22nd, 2004, 09:17 AM
spak111 spak111 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 349 spak111 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 25 sec
Reputation Power: 5
Send a message via AIM to spak111
You may wish to try a group by clause in your SQL statement by company name. This should hopefully help.
__________________
People who think they know everything annoy those of us that do.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Help with data report


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 3 hosted by Hostway