![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a VFP program and am trying to rewrite it in MS ACCESS 2000. The original DBF files are pretty simple, just TEXT fields and one MEMO field.. The original VFP program is not too complicated, so I will be able to manipulate the data easily in ACCESS. . |
|
I planned to use MS EXCEL to open the VFP dbf files and save them as XLS files. Then I would build the ACCESS program using these XLS files. BIG problem with the MEMO field. I tried "COPY MEMO" to save the memo data to a text file and later APPENDING the text file to a seperate VFP dbf file . I coded it up and it works fine as long as the MEMO field is less than 255 characters. When I try to retrieve data from the seperate VFP dbf file I lose everything after the first 255 characters, because that's the maximum size of a VFP Text field. The MEMO fields never exceed 500 characters. The bottom line is.... Does anyone know how to export or port the MEMO fields into an XLS file or anything else readable by ACCESS. Many thanks Dick B |
#3
| |||
| |||
|
|
"RICHARD BROMBERG" <dickbrom (AT) worldnet (DOT) att.net> wrote I have a VFP program and am trying to rewrite it in MS ACCESS 2000. The original DBF files are pretty simple, just TEXT fields and one MEMO field.. The original VFP program is not too complicated, so I will be able to manipulate the data easily in ACCESS. . One way is to use ODBC connection VFP program -> Access database. Write a simple VFP program reading DBF data and updating Access database using SQL commands (insert ...) Another way is to save MEMO fields into separate text files and import text files (manually) into Access database. A little annoying. I planned to use MS EXCEL to open the VFP dbf files and save them as XLS files. Then I would build the ACCESS program using these XLS files. BIG problem with the MEMO field. I tried "COPY MEMO" to save the memo data to a text file and later APPENDING the text file to a seperate VFP dbf file . I coded it up and it works fine as long as the MEMO field is less than 255 characters. When I try to retrieve data from the seperate VFP dbf file I lose everything after the first 255 characters, because that's the maximum size of a VFP Text field. The MEMO fields never exceed 500 characters. The bottom line is.... Does anyone know how to export or port the MEMO fields into an XLS file or anything else readable by ACCESS. Many thanks Dick B |
![]() |
| Thread Tools | |
| Display Modes | |
| |