Export 2 queries to 1 csv (columns not the same) (1 Viewer)

MarkK

bit cruncher
Local time
Today, 07:50
Joined
Mar 17, 2004
Messages
8,180
Or late bound, use...
Code:
    With CreateObject("Scripting.FileSystemObject")
...instead of...
Code:
    With New Scripting.FileSystemObject
:)
Mark
 

static

Registered User.
Local time
Today, 15:50
Joined
Nov 2, 2015
Messages
823
I don't disagree. As with everything to do with databases and VBA it depends on the number of records involved.

If the sample is representative then do as you like.

If lots of records are being exported from 2 tables in unison then using built in functionality would probably be faster even if it needs some post processing.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 10:50
Joined
Feb 19, 2002
Messages
43,200
Process a record once or process it three times?

The post processing will be using flat file I/O so you have to read one file and output the updated file.
 

static

Registered User.
Local time
Today, 15:50
Joined
Nov 2, 2015
Messages
823
You wouldn't be processing any records individually at all. That's the point. You would be BATCH processing.
 

static

Registered User.
Local time
Today, 15:50
Joined
Nov 2, 2015
Messages
823
It does feel like I'm speaking a different language at times. :)
 

Users who are viewing this thread

Top Bottom