Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.03.18;
Скачать: CL | DM;

Вниз

Как разово перевести dbf-файл (формат dBase IV) в FoxPro?   Найти похожие ветки 

 
wezzz   (2006-12-20 12:21) [0]

сабж


 
Desdechado ©   (2006-12-20 12:24) [1]

мало информации

какой фокс? какие кодировки? какие индексы? есть ли memo-поля?


 
sniknik ©   (2006-12-20 12:27) [2]

попросту открой его в нем, 4-ый dBase достаточно старый, его любой фокс знает/откроет, а при любом изменении в структуре, это уже будет формат фокса.


 
Jeer ©   (2006-12-20 12:36) [3]

Запустить FoxPro 2.6, в меню выбрать Конвертация dBase - сконвертит scr, lbl, report и fmt файлы, а сам dbf практически один и тот же.


 
Anatoly Podgoretsky ©   (2006-12-20 13:00) [4]

> Jeer  (20.12.2006 12:36:03)  [3]

Как раз сделает только последнее, сгенерит dbf + индексы + мемо и никаких scr, lbl, report и fmt


 
Jeer ©   (2006-12-20 13:45) [5]


> Anatoly Podgoretsky ©   (20.12.06 13:00) [4]


Как думаешь, я должен не верить своим памяти и глазам ?

***
FoxPro 2.6 converts dBASE files by using an application called MIGRATE.APP.
You can execute this application by choosing Convert dBASE Files from the
Run menu or by typing "DO MIGRATE.APP" (without the quotation marks) in the
Command window.
------------------------------------------------------------------
The information in this article applies to:

 - Microsoft FoxPro for Windows, version 2.6
 - Microsoft FoxPro for MS-DOS, version 2.6

When it converts other objects, such as labels (.LBL), reports (.FRM), and
so on, MIGRATE.APP does check for existing filenames so that it doesn"t
overwrite them.

Therefore, when you convert dBASE files to FoxPro 2.6 format, the following
behaviors will occur:

- When you are converting dBASE labels (.LBL) or reports (.FRM), if an
  .LBX or an .FRX file already exists, MIGRATE.APP displays a message
  saying so and asks whether the file should be overwritten.

- When you are converting dBASE form code (.FMT) files, MIGRATE.APP looks
  for a pre-existing .SCX file. If one exists, MIGRATE.APP displays a
  message saying so and asks whether the file should be overwritten.

- When you are converting dBASE form design (.SCX) files, MIGRATE.APP does
  not check for the existence of an .SCX file; therefore, it will
  overwrite an existing .SCX file of the same name.

Steps to Reproduce Behavior
---------------------------

1. Copy any dBASE .SCR file to your local hard disk drive.
2. From the Run menu, choose Convert dBASE Files (MIGRATE.APP).
3. Select an .SCR file, press ENTER, and then choose Process.
4. Select the same .SCR file, and process it again.

Note that there was no warning message.


 
Anatoly Podgoretsky ©   (2006-12-20 13:51) [6]

> Jeer  (20.12.2006 13:45:05)  [5]

Ты немного про другое, я вообще то про конвертацию, которая делается без MIGRATE.APP, а по факту открытия таблицы.


 
Jeer ©   (2006-12-20 14:11) [7]

А при открытии и закрытии только таблицы в fox-e, ничего не произойдет.
Произойдет лишь при change, а именно - изменение нулевого байта:
dBaseIII       = $03;  
dBaseIIIMemo   = $83;
dBaseIVMemo    = $8B;
dBaseIVSQL     = $63
FoxPro         = $05;
FoxProMemo     = $F5;


 
Anatoly Podgoretsky ©   (2006-12-20 15:24) [8]

> Jeer  (20.12.2006 14:11:07)  [7]

И будут преобразованы индексы или как минимум мемо поля. Старые будут сохранены.


 
Jeer ©   (2006-12-20 16:58) [9]


> Anatoly Podgoretsky ©   (20.12.06 15:24) [8]



> А при открытии и закрытии только таблицы


но ессно, если к ней еще что-то подцеплено - тады ой.



Страницы: 1 вся ветка

Текущий архив: 2007.03.18;
Скачать: CL | DM;

Наверх




Память: 0.49 MB
Время: 0.049 c
15-1171857541
Slider007
2007-02-19 06:59
2007.03.18
С днем рождения ! 19 февраля


2-1172317674
Novichok_New
2007-02-24 14:47
2007.03.18
"Непонятные" поля (mail)


2-1172568518
sergeyst
2007-02-27 12:28
2007.03.18
rc файлы


15-1171515334
Windows ME
2007-02-15 07:55
2007.03.18
Hasta la Vista


15-1172072131
Calibr
2007-02-21 18:35
2007.03.18
OpenGL библиотеки