I have a program that uses a topspeed database (.TPS), and I would like to be able convert/export it to Microsoft Access.
Can anyone in here tell me what to do?
Well, To import / Export TPS/Access Files, we need a format supported by both applications, vgr. DBASE...
From Access to TPS:
1. Open the Table ya want to export in MSAccess and Export it into a Dbase IV file!. (File->Export->YourFile.dbf)
2. Go To Diccionary Editor and open a newone.
3. With the New Diccionay open go to File->Import->YourFile.dbf
3. Copy The file, Change the Driver to TPS and Rename it!
4. Select the DBF file, and Click on Browse button.
5. Go to File->ConvertFile
6.
Source Filename = C:\Convert\YourFile.DBF
Souce Directory = C:\Convert\YourDiccionay.dct
Source Structure = CustumerDBF
Target Filename = C:\Convert\YourFile.TPS
Souce Directory = C:\Convert\YourDiccionay.dct
Target Structure = CustumerTPS
Generate Source = C:\Convert\CONVERT.CLW
7. Go to File->Open->Convert.prj
8. Open Convert.CLW in External Source File
9. Asing the DBF Fields to TPS Fields on: AssignRecord ROUTINE If ya maked no changes to the file estructure, Just Click on Run button!
10. File Export done!.
For Import/Export from TPS -> Access Do the inverse!.
you need to create an ODBC NDS that points to .TPS files. Once created, all you have to do is open access, create an access database, select "file", "Get external data","import" and change the file type to "ODBC()".
You will then get a list of files and your .tps tables should be somewhere there. Just import them.
Creation of the .TPS ODBC drivers is where I fall down, so you will need some help (and the .tps ODBC drivers)
Oops!- Missed a step.
Once you select "ODBC()" as the file type, a pop-up screen will be displayed, showing all the ODBC .dsn files. "Topspeed.dsn" should be listed.
Select it and then you'll get your list of .tps tables to import.
Be prepared to have a coffee break - my topspeed files takes six minutes to import, and I'm using a macro listing to import them!!
Ei, I'm in the same problem that TCJ, and I think some don't understand all the problem. I do NOT have Clarion. I don't know nothing about Clarion, and I don't want to do nothing with Clarion. I only have an application that uses .tps files, and I have done all the way looking what this extension means. It's so discouraging that everybody points to
I have a working MS Access\VBA program, and I want to access the data from a clarion file. My normal method is to output a delimited file that I import into the necessary tables in MS Access. I have not found a way to do this that creates a clean file without any extra bad characters.
My next thought is that I would like to use an ODBC type of connection. The only problem is that the files are not a .TPS extension. It is a .DAT.
A solution was posted earlier regarding this issue. You can Export to .Dbf which is a better format or You can do a DDE.
DDE is slow, very very slow and you need to have MS Access loaded and you need to know the Key codes used by MS Access inorder to do it. If by chance you know Clarion and there's this Free template that you can down load from LOCUS but i think it only supports ver. 5.0 and up.....not so sure about other versions. I have the ver. 5.0 copy and there's an option which allows you to export your data as text(plain text from so which remove's extra char.)
I am contemplating writing an import routine within MSAccess that reads the information in the .DAT files as binary input. I believe I can work out the file lengths, record and field sizes as well as the field names from the .DAT files.
If I go ahead with this can anyone see any obvious problems that I might have. How likely is it that the file layouts change between versions of Clarion?
Well, ok... I need to convert a .dat file into a .dbf as you told before, but so I need to have Clarion installed, and I haven´t found any trial version or whatever... do you know where can I find it, or a program capable of doing this conversion?
PMFJI,
If the DAT files are of the CPD Dos version then find a developer with the ccvt.exe program, it is a data converter for ACSII<->ClarionDAT<->dBaseII
I've tried the ccvt.exe program, and it seems to be exactly what I was looking for, but when I try to load the .dat file I get the message: "invalid input file". The file musn't be corrupted as I can browse it without problems with the clarion application that generated it.
The Clarion DAT file format changed around CPD 2.107(8). The utility that you have may be for the "other" version. If you have a CPD application run the program from the command line with /! as a parameter it should return the build number. Once you have that we can search for the correct ccvt.exe file.
I've run the application with /! but it didn´t gave me any version or something... The only information I have is that the exe file was created at the beginning of 1992. Anyway ccvt.exe is suposed to be capable of reading older versions (ccvt.exe help says that the program will detect version 1 data files and in such case it will prompt a message to notify the user).
Oops! use the ! alone after ccvt.exe (no slash) it should return the build number. If the file is indeed corrupt there is not much chance of any stock tool reading it. I suppose one could hexedit the header to make sure all the bits were in the appropiate locations. That would require the file layout which I've not been able to locate recently.
The problem is that I don't know the version of Clarion with which was made the application that generated the data I want to migrate to Access, and I can´t discover it... The fact is that the Exe file (the Clarion application) was last modified in June 1992 and the ccvt.exe I have, was last modified in March 1992, so it's possible that the data format could be newer than the one that my ccvt.exe supports.
On the other side, I'm sure the data can't be corrupted, because I can read it perfectly with the clarion app (ANDRES.EXE is called) that generated all this data.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.