Groups | Blog | Home
all groups > vb.net data > december 2006 >

vb.net data : Some Dataset advice please


William (Bill) Vaughn
12/8/2006 9:58:39 AM
A report can be sourced from any number of data sources. As I describe in
Chapter 16? in my new book, you can choose to join the tables in a SELECT to
provide a single rowset on which to report or return several rowsets from
separate queries.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

[quoted text, click to view]

Vayse
12/8/2006 5:14:27 PM
Hi
I have a report in a report viewer control, based on Clients dataset. The
fields are like this
ClientName
ClientID
LastYearPremium
RenewalDate

My report would display all renewals due in a particulat month, say Jan
2007. Works fine.
These clients pay an annual premium, and some pay in advance. So they may
have an entry in the Transactions table. I'd like to add another field to my
report, which would show how much they paid this year.
Whats the best way to do this?
Is there a way to link up two datatables, and use that as the basis for my
report? Or I could add just loop through the clients dataset in code, and
search for an entry in the specified month - but I reckon that would be a
bit slow.

I'm using SQL Server 2000 and Vb.net 2005.

Thanks
Vayse

Vayse
12/11/2006 12:00:00 AM
Since I don't have your book to hand, could you provide a sample of what you
mean?

[quoted text, click to view]

William (Bill) Vaughn
12/11/2006 9:37:01 AM
So, you just spent the last 2+ years working on a new project. Would you
like to hand it out for free to anyone who asks? In this case, I expect the
(rather long) chapter on Reporting would have to read almost in its entirety
to get a good understanding of the ReportViewer control. What you're asking
for cannot be sent in a short email...

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

[quoted text, click to view]

Vayse
12/12/2006 12:00:00 AM
According to http://www.hitchhikerguides.net/BookVS2005/TOC/default.aspx
there are only 15 chapters in your new book, so I'm sure you can understand
why I'm not rushing off to buy a book for a mysterious chapter16!
Still, I guess I'll have to buy it, as it seems my only option at the
moment.


[quoted text, click to view]

William (Bill) Vaughn
12/12/2006 11:40:07 AM
Sorry, you're right. It was Chapter 16 but we combined two really long CLR
Executables chapters into one humongous chapter which pulled Chapter 16 down
to 15. If you still have questions after buying it, get up on the book's
support site and ask your question again. I check there first every day...

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

[quoted text, click to view]

Vayse
12/14/2006 12:00:00 AM
Your book is on the way to me, so if I'm still confused after reading it,
expect a post from me on your site!
Thanks
Vayse

[quoted text, click to view]

Vayse
12/15/2006 12:00:00 AM
Guess you must be popular here in Ireland, as the book is actually sold out,
and I have to wait until next week for more stock to come in.

[quoted text, click to view]

William (Bill) Vaughn
12/19/2006 4:29:02 PM
Hummm... It must be the jokes about Cleveland. ;)
I've been offline for 5 days due to the storm. Perhaps you'll have it by
Christmas. The stores in the UK should carry stock...
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

[quoted text, click to view]

Vayse
12/20/2006 12:00:00 AM
Postage from the UK costs more than the book itself!
Anyway, got it yesterday, have read a few chapters. I'll read some more
before I post a question on this particular topic, but it looks good so far.


[quoted text, click to view]
William (Bill) Vaughn
12/20/2006 5:22:30 AM
Great. If you like it, please post a review on Amazon. If you don't... ;)
If you have any questions, get up on the support site. I get notified
immediately when someone asks a question there. I only get here a few times
a week.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

[quoted text, click to view]
AddThis Social Bookmark Button