Re: Tips on domain aggregate replacements
- From: "Michel Walsh" <vanderghast@VirusAreFunnierThanSpam>
- Date: Tue, 18 Oct 2005 14:52:56 -0400
Hi,
Have you tried GetRows on a recordset (ADO or DAO)? That return a transposed
array of variant of your records. Being transposed, the records are disposed
in columns (second index), the field are disposed in lines (first index) and
indices start at 0. See the help file.
One of "the" problem with data in "memory" is that you cannot easily share
it with other users (in addition to eventually consume a lot of memory). I
won't suggest that solution except for very simple tasks.
Hoping it may help,
Vanderghast, Access MVP
"Brian" <Brian@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5022F742-E256-45EC-8DEA-2A0F6A5FA230@xxxxxxxxxxxxxxxx
> Everything I am reading tells me I should minimize my use of domain
> aggregate
> functions, so I am in the process of going through several apps to replace
> these. In many cases, I can use a join in a query, but there are times
> when I
> need to run the statement from VBA. I need a tip on how to accomplish
> this.
>
> I know how to run action queries using RunSQL, but (how) can I run select
> queries to return Max, Sum, etc. results to a variable or array in VBA?
.
- Prev by Date: Re: Access 97 Recordset Problem
- Next by Date: Re: Running PowerPoint from Access
- Previous by thread: Re: Tips on domain aggregate replacements
- Next by thread: Re: open template as document
- Index(es):
Relevant Pages
|
Loading