|
-
Nov 14th, 2000, 11:02 AM
#1
Thread Starter
New Member
I am trying to create customized reports using the MS DataReports, but I do not wish to have the overhead of the DataEnvironment. Is there anyway I can get information into the DataReport without using the DataEnvironment? I have separated my program into three teirs, and would like to keep any database access out of the user-interface teir.
I can access the data through classes and collections. Any help would be greatly appreciated. Please e-mail me at: [email protected] if you have any suggestions.
Daryl
-
Nov 15th, 2000, 12:07 AM
#2
New Member
Originally posted by phatguy
I am trying to create customized reports using the MS DataReports, but I do not wish to have the overhead of the DataEnvironment. Is there anyway I can get information into the DataReport without using the DataEnvironment?
Daryl
sample code in your mailbox
-
Nov 15th, 2000, 03:36 AM
#3
can you kick me down that sample code as well. Thanks.
-
Nov 15th, 2000, 01:22 PM
#4
Thread Starter
New Member
Thanks StarE!
That solved part of my problem. Now, the other annoying part. I only have _one_ details section, but there are three different headers. It goes something like this:
First Item
- First Option
- First Configuration
- First Result
- Second Result
- Second Configuration
- First Result
- Second Option
- Frist Configuration.
Your solution took care of my original problem with the details (ie. the "Result section"), but I am still stuck with the Item, Option, and COnfiguration sections. Any suggestions?
-
Nov 15th, 2000, 11:20 PM
#5
Addicted Member
hmmm, I could use that code
I am doing the same type of thing, could you pass the code along to me as well?
Shawn Hull
VB6, SP3 (Professional Edition)
-
Nov 16th, 2000, 02:16 PM
#6
Hyperactive Member
StarE,
I am interested in how this can be done as well. Any chance that you could email me a copy of the code sample you sent phatguy? It would be much appreciated.
Thanks,
Rev. Michael L. Burns
-
Nov 16th, 2000, 04:37 PM
#7
Thread Starter
New Member
Alrighty! Thanks to the intial information from StarE, and the wonders of books, I believe I have figured this out! <insert back-flip here!>
It would seem that you can use StarE's idea of putting the database call in the DataReport_Initialize routine, but use a shaped recordset instead of a normal one. This is the way that the DataEnvironment does its job. I have yet to test this, and I will post my results when I have them. If anyone is interested, the book that I am refering to is as follows:
Mastering Database Programming with Visual Basic 6
by: Evangelos Petroutsos
ISBN: 0-7821-2598-0
Definately worth the read.
-
Nov 30th, 2000, 05:51 PM
#8
Lively Member
Hey StarE! Can you send me the code as well?? Thanks much!!
[email protected]
-
Nov 30th, 2000, 10:18 PM
#9
New Member
Hi StarE,
Can you send me a copy of the sample also? I am
very interested to learn how to make the datareports
work with a active data connection.
Thanks a lot,
Tony
Originally posted by StarE
Originally posted by phatguy
I am trying to create customized reports using the MS DataReports, but I do not wish to have the overhead of the DataEnvironment. Is there anyway I can get information into the DataReport without using the DataEnvironment?
Daryl
sample code in your mailbox
-
Dec 1st, 2000, 12:39 AM
#10
Member
Hey
Sorry to be a pain, but I would to see that code as well.
-William
-
Dec 8th, 2000, 10:37 PM
#11
Lively Member
Don't forget me too. I'm also need to know.. how to code that
-
Dec 9th, 2000, 12:57 AM
#12
Lively Member
I would appreciate that code also.
Thanks a lot in advance.
Eric
-
Dec 9th, 2000, 02:13 AM
#13
New Member
how bout just posting the code here... ;]
-
Dec 9th, 2000, 06:26 PM
#14
Junior Member
where's the code?
Can you give me a sample of the code plus the solution to my email?
My email is [email protected]
Thank you.
-
Dec 11th, 2000, 05:50 AM
#15
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|