Information générale
Catégorie:
Produits tierce partie
Titre:
BASIC *.dat file Export utility ?
Hi All
I am working with a legacy MS Basic application. Yes, I thought it was a "toy" application too. But as it turns out, the application if fairly complex and some pretty good sized businesses are using it daily. As you know, Basic data is stored in flat file ASC files with an extension of ".dat". I can open the files and parse them etc using FOPEN() and FGETS() and then write out to a table.
However, I loose some of the information. For example an Integer value is represented as a character string that the Basic interpreter reads as an integer. When I parse the ASC string, I get something like "þþ". The BASIC application is not well documented, so figuring out all of the columns and the intended type will be very time consuming and very tedious. Did I mention that there are more than a few tables to be converted? I really don't want to be doing this for the next year.
My question, is whether someone knows of a utility (in any flavor of Basic, or preferably in VFP), that can convert/export/import *.dat files into anything else that has a row, column format (Access, Excel, XBase tables or??).
TIA
Don Lowrey
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement