Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting Fox 26 tables to VFP
Message
De
17/01/2000 09:46:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/01/2000 07:08:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00318889
Message ID:
00318942
Vues:
29
>I'm trying to 'hack' the header to convert a Fox 26 file to be a VFP file so I can silently add it to a DBC.
>
>I am writing 30h to the first character of the header file but it moans that the file was created with a pre-release version of VFP - probably a Beta of version 3.
>
>What am I missing?
>
>TIA


Ian,
After field definitions and just before the header record terminator (0x0D) there is a 269 bytes backlink info in VFP tables. There writes the belonging DBC path.

You can add it with native VFP commands like this (assuming original is in another directory - I find it easier to have it in another dir then to rename afterwards):
use "c:\InSomeOtherDir\myOldFox2xTable"
copy to myOldFox2xTable with production && This is in VFP format in curdir()
open data myData
add table myTable && Make part of DBC
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform