473,387 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Array as datasource for a report

Hi All,

I have a three dimensional array holding data generated from manipulation of
a recordset. This is done in a form, but could be done in the report at
start up.

Is there a way I can use this data to populate the report.

I want to avoid throwing it into a table, and using this for the report, but
that's an option.
Any advice welcome.

Gerry Abbott
Nov 12 '05 #1
4 8802
rkc

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:dE******************@news.indigo.ie...
Hi All,

I have a three dimensional array holding data generated from manipulation of a recordset. This is done in a form, but could be done in the report at
start up.

Is there a way I can use this data to populate the report.

I want to avoid throwing it into a table, and using this for the report, but that's an option.
Any advice welcome.


No advice, just a Google url for a post from Keri Hardwick that
you may be able to use.

http://groups.google.com/groups?oi=d...m=an_517538175



Nov 12 '05 #2
DFS
"Gerry Abbott" <pl****@ask.ie> wrote in message
news:dE******************@news.indigo.ie...
Hi All,

I have a three dimensional array holding data generated from manipulation of a recordset. This is done in a form, but could be done in the report at
start up.

Is there a way I can use this data to populate the report.

I want to avoid throwing it into a table, and using this for the report, but that's an option.

Depending on how many records you have, you could add an unbound text box to
the report for each field and record, then populate them with code on the
report open.

It will almost certainly be easier and cleaner to write the data to a temp
table and base the report on that.

Any advice welcome.

Gerry Abbott

Nov 12 '05 #3
Thanks for that

In the absence of any other advice,
I think ill have create a table to hold the data.
then empty the table before population it with the data.
Then run the report using the table as the record source.

Sounds like a long way around what should be simple problem

Gerry
"rkc" <rk*@yabba.dabba.do.rochester.rr.bomb> wrote in message
news:ZK********************@twister.nyroc.rr.com.. .

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:dE******************@news.indigo.ie...
Hi All,

I have a three dimensional array holding data generated from
manipulation of
a recordset. This is done in a form, but could be done in the report at
start up.

Is there a way I can use this data to populate the report.

I want to avoid throwing it into a table, and using this for the report,

but
that's an option.
Any advice welcome.


No advice, just a Google url for a post from Keri Hardwick that
you may be able to use.

http://groups.google.com/groups?oi=d...m=an_517538175


Nov 12 '05 #4
Thanks
Emptying table and writing to it each time turned out to be easy.

Your suggestion probably would have worked, as there is a constant number of
fields, 36.

Gerry

"DFS" <no******@nospam.com> wrote in message
news:vs************@corp.supernews.com...
"Gerry Abbott" <pl****@ask.ie> wrote in message
news:dE******************@news.indigo.ie...
Hi All,

I have a three dimensional array holding data generated from
manipulation of
a recordset. This is done in a form, but could be done in the report at
start up.

Is there a way I can use this data to populate the report.

I want to avoid throwing it into a table, and using this for the report, but
that's an option.

Depending on how many records you have, you could add an unbound text box

to the report for each field and record, then populate them with code on the
report open.

It will almost certainly be easier and cleaner to write the data to a temp
table and base the report on that.

Any advice welcome.

Gerry Abbott


Nov 12 '05 #5

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

Similar topics

0
by: Slonjo | last post by:
I don't know if this has been addressed in some other form/forum but we tried what we thought was everything. I apologize if i'm being redundant. We build reports like so when they require...
3
by: KCT | last post by:
I am creating a report screen then look like this : ItemName Quantity A 1 B 2 C 3 --End of Page-- The data is not...
3
by: lee_mcknight | last post by:
I am using Crystal Enterprise V9. I have a report that needs to have multiple datasets as the datasource(s) on a single subreport (some common lookup data I need to join to is stored in a seperate...
11
by: Zorpiedoman | last post by:
The problem is this: I have a list box. I set an array list as the datasource. I remove an item from the array list. I set the listbox datasource to nothing. I set the listbox datasource to...
1
by: Pieter | last post by:
Hi, I'm using VB.NET 2005 with a Local Report, and I used an Object as DataSource. The problem is: this Objects contains a Generic List (MyArticles, Inherist from BindingList), which contains...
1
by: Pieter | last post by:
Hi, I have a Report (VB.NET 2005), and I'm using Objects as DataSource. I have the object objCompany, which contains a public property MyAdress (instance of objAdress). objAdress has a propert...
3
by: gihope | last post by:
Can anyone tell me why I am not allowed to bind a two or multi dimensional array to GridView and possibly suggest how they would deal with similar scenarios? The array is simply a two dimensional...
3
by: balaki | last post by:
Hi, I am working on a Installer Project, which requires to deploy SQL Server 2005 Reports (.rdl files) and Datasource (.rds file). The datasource is common for all reports. The report files are...
4
by: remya1000 | last post by:
I'm using VB.NET 2003 windows application. i'm trying to display Crystal Reports using CrystalReportViewer. Code i'm using to display "ZTab.rpt" in CrystalReportViewer when Form_Load ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.