473,503 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ca a collection be a rowsource for a report?

I generate a collection of errors from a procedure. I then show these
errors in a msgbox buy looping thru the collection and adding them to
a string called sMsg. in the msgbox, I ask the user if they would
like to print these errors. If they say yes, what is a way of
printing this list to the default printer, or better yet, create a
report that can be called with the collection as the record source.

Thanks in advance,
Adolph
Aug 11 '08 #1
1 1841
On Mon, 11 Aug 2008 13:11:24 -0700 (PDT), adolph
<ad****@programconsultants.comwrote:

No, but I'm pretty sure that rather than using a collection you could
use an ADO Recordset. You can create one out of thin air, add a few
fields to it, add your rows to it, and use that recordset as the
RecordSource for a report.

-Tom.
Microsoft Access MVP

>I generate a collection of errors from a procedure. I then show these
errors in a msgbox buy looping thru the collection and adding them to
a string called sMsg. in the msgbox, I ask the user if they would
like to print these errors. If they say yes, what is a way of
printing this list to the default printer, or better yet, create a
report that can be called with the collection as the record source.

Thanks in advance,
Adolph
Aug 13 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9514
by: Greg | last post by:
I'm writing a class in C# .... I have a collection calls Reports made up of Report objects. I'm trying to deserialize an XML file that looks like : <Reports> <Report> <Title>some title</Title>...
7
8484
by: Nicolae Fieraru | last post by:
Hi All, I am trying to change the rowsource of a combobox when I click on it. I played with many events, associated with the form and the combobox, but still haven't figured out what is the way...
2
2594
by: DL | last post by:
Hi, I want to specify the query that will be used in a report by giving options in a form. then with a command button the following will happen: ------------- QRY= "SELECT * FROM registration" ...
4
6432
by: Maria | last post by:
How can I display the items in a collection in a listbox? Then, what is the code to remove an item from the collection when the item is selected in the listbox ? Thanks for all help!! Maria
18
5717
by: Scott | last post by:
I have a collection where the items in the collection are dates. I want to iterate over the collection and build a value list string for the rowsource of a listbox. The dates in the collection are...
1
7628
by: Zlatko Matić | last post by:
I tried to set RowSource of the MS Graph nested inside a report, programatically. I put Me.NameOfTheGraph.RowSource="NameOfTheQuery" on the Open Event of the report, but an error occurs :"...
3
2389
by: jimfortune | last post by:
At what point is a Form added to the Forms collection or a Report added to the Report collection? I.e., listed as currently open. The reason I ask is that I have a subreport for an exclusive...
3
2111
by: u473 | last post by:
How do I call a reusable report with a modifiable Rowsource property and or code ? Like in the following case where the table name will change any following day ? I am using Access 2003. ...
11
7432
by: Simon | last post by:
Dear reader, The syntax for the VBA code to change the RowSource of a Master Report is: Me.RowSource = "TableOrQueryName"
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6982
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5572
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.