A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

passing a recordset



 
 
Thread Tools Display Modes
  #1  
Old August 6th, 2005, 04:12 PM
85ascMcLaren
external usenet poster
 
Posts: n/a
Default passing a recordset

Please forgive me if this is similar to the question asked on 6/2/2005, but I
do not quite understand it....

I am use to using VB6 with crystal reports. What I need am trying to do is
use VBA like VB 6 to grab data from a couple of tables and put that info in a
local recordset. In crystal reports, you can specify a recordset as a
datasource. A datasource is a property in crystal that you can use to
specify a datasource which can also be tables, etc. In VB 6 I create a local
recordset with the shape data provider building my own local table. I may
assume, I can also do this using disconnected recordset in ADO to create a
local table structure and then populate it with a local recordset. I used
RDO in VB 6, so this was not possible, hence the use of the OLE DB data shape
provider to build a local table structure and then a local recordset. After
this long winded question... :

Can I use a similar method to pass a recordset from a form to a report as a
record source. In looking at the data properties in a report, it only lets
you select tables for the record source property. Any help is appreciated....

Thanks,
Jason

  #2  
Old August 6th, 2005, 04:16 PM
85ascMcLaren
external usenet poster
 
Posts: n/a
Default

Made a little mistake above. I see that the recordsource property allows you
to also select a query. Problem is I don't think I can use this method as I
am creating a LOCAL table in memory and creating a recordset based on the
local table in memory. Therefore I need to pass the recordset. I am not
storing the table in the database - only in memory. Is this possible....?

"85ascMcLaren" wrote:

Please forgive me if this is similar to the question asked on 6/2/2005, but I
do not quite understand it....

I am use to using VB6 with crystal reports. What I need am trying to do is
use VBA like VB 6 to grab data from a couple of tables and put that info in a
local recordset. In crystal reports, you can specify a recordset as a
datasource. A datasource is a property in crystal that you can use to
specify a datasource which can also be tables, etc. In VB 6 I create a local
recordset with the shape data provider building my own local table. I may
assume, I can also do this using disconnected recordset in ADO to create a
local table structure and then populate it with a local recordset. I used
RDO in VB 6, so this was not possible, hence the use of the OLE DB data shape
provider to build a local table structure and then a local recordset. After
this long winded question... :

Can I use a similar method to pass a recordset from a form to a report as a
record source. In looking at the data properties in a report, it only lets
you select tables for the record source property. Any help is appreciated....

Thanks,
Jason

 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP recordset as SQL table Ennex Database Design 8 March 5th, 2005 06:38 PM
Porting Access DB to ASP; use recordset as SQL table? Ennex Running & Setting Up Queries 1 March 4th, 2005 12:27 AM
How to loop through a recordset and update the field of a recordset or delete current record Karen Middleton Running & Setting Up Queries 1 January 4th, 2005 10:30 AM
How to save a recordset as a query? Lu An De General Discussion 2 October 8th, 2004 03:48 AM
Refering to a recordset Richard General Discussion 2 August 5th, 2004 01:48 AM


All times are GMT +1. The time now is 02:10 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.