English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

HOW A TEXT FILE CREATED IN FOXPRO 2.5a CAN BE APPENDED WITH OUT DELETING THE PREVIOUS DATA , THROUGH CODING.

2006-09-14 18:49:37 · 2 answers · asked by ravi 1 in Computers & Internet Programming & Design

2 answers

if ur dbf structure matches the layout of the text file, then u can simply give 2 commands in your program.

use
appe from type sdf

the records from text file will be added to your dbf but the existing records of dbf will remain as it is

but if ur dbf sturcture does not match text file layout then u have to create a new dbf (structure should be same as per the layout of text file)

2006-09-14 20:39:28 · answer #1 · answered by lakshmi r 4 · 0 0

You need to open the file in Append mode and then start writing to the file.

I am not sure that language you are using to modify that otherwise, I would have provided you the code for the same.

2006-09-14 19:35:38 · answer #2 · answered by Nand Kishore 3 · 0 0

fedest.com, questions and answers