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  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Move Query from DB to DB?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-07-02, 14:39
briglass briglass is offline
Registered User
 
Join Date: Nov 2002
Posts: 4
Thumbs down Move Query from DB to DB?

Hello,

I am trying to use visual basic to move a Crosstab Query from one mdb to another mdb.

(I'm ussing Access 97 and vb6)

How can I do this using ADO, or some other method? I don't think it is possible with SQL...

Or, is there a way to move the DATA that is currently in one Crosstab Query into another Crosstab Query in a different mdb (they both have the same structure)?

Any help would be GREATLY appreciated. This is NOT for a school class.

Thanks again!

Brian
Reply With Quote
  #2 (permalink)  
Old 11-08-02, 12:30
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
How are you storing the results of the crosstab query within vb ?
Reply With Quote
  #3 (permalink)  
Old 11-13-02, 15:26
briglass briglass is offline
Registered User
 
Join Date: Nov 2002
Posts: 4
Hmm..

Quote:
Originally posted by rnealejr
How are you storing the results of the crosstab query within vb ?
That's what I'm not sure about.

There is a BeginTrans, then a bunch of lines adding a field to a db (RecStack.AddNew) then there is a CommitTrans... and that's when data is entered into the crosstab query.

There is some SQL criteria in the query. When does this get activated? I am pretty confused.

All I really need is a way to move the info from the query to a copy of the query in another db that is blank... with the same structure.

??

Thanks,
Brian
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On