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 > Database Server Software > Pervasive.SQL > Opening DacEasy Version 15 Files with Pervasive SQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-26-09, 16:08
Michael Allen Michael Allen is offline
Registered User
 
Join Date: Apr 2009
Posts: 14
Lightbulb Opening DacEasy Version 15 Files with Pervasive SQL

The general problem I want to solve is to build a MASTER ITEM TABLE from an existing ITEM TABLE in DacEasy Version 15. The ITEM TABLE contains several thousand items, but DacEasy only allows the MASTER ITEM TABLE to be built one item at a time. It would therefore be advantageous if a quick conversion query can be run using say MS access to do this job.

Specifically I need to move data between Pervasive SQL and MS Access mdb in a DacEasy file system.

How can this be done simply using MS access queries.
Reply With Quote
  #2 (permalink)  
Old 04-26-09, 20:19
mirtheil mirtheil is online now
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Short answer is that you can link the PSQL database within Access.
Longer answer is that you need to create an ODBC DSN pointing to the DacEasy data files. Then once you've got the ODBC DSN, you can "Get External Data" from within Access and point it to the DSN. This will let you pick tables to be linked.
I would not recommending importing the data because it will be difficult to reimport it back to to PSQL.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 04-26-09, 21:06
Michael Allen Michael Allen is offline
Registered User
 
Join Date: Apr 2009
Posts: 14
I have an Access database with the ITEM file from the legacy application. I also have that table structured in the same fashion as in the DacEasy ITEM table.

I want to structure a query that creates the MASTER ITEM table with the structure of the Dac Easy MASTER ITEM table from the existing ITEM table.

I feel that if I am successful than I can use a DOS copy to replace the file successfully in the DacEasy files.
Reply With Quote
  #4 (permalink)  
Old 04-26-09, 21:50
Michael Allen Michael Allen is offline
Registered User
 
Join Date: Apr 2009
Posts: 14
Longer answer is that you need to create an ODBC DSN pointing to the DacEasy data files. Then once you've got the ODBC DSN, you can "Get External Data" from within Access and point it to the DSN.

I am getting the ODBC DSN pointing to the DacEasy data files created but the files are not showing up on the PCC grid. And I cannot tell why.
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On