Thanks Ted,
1. >Sometimes it is useful to convert a fixed-length-record file into a text file which can then be edited without limitations. Use the {BLOCK, Convert newlines,
CONVERT macro} function for this.
Indeed, this is extremely useful for me! I can import a properly formatted text file into my spreadsheet, there I can adjust the cell columnwidth and finally I can export
the spreadsheet file into a .dbf file.
At the same time, I prefer to do all of the work in Vedit and this leads me t the next item.
2. I really appreciate the macro that you have written for me. I understand that it creates a corrupted file, inasmuch as the header information still refers to the old record length. At the same time, I feel comfortable of doing this update manually myself. The reason why I feel comfortable is that I have studied the superb distribution file DBASE.VDM. A big thank you to Freed for writing it! Your macro will allow me to change filed and record sizes using Vedit. At
present I do this via importing and exporting it to a spreadsheet.
3. >You can eliminate the "Overwrite-only" message by setting {CONFIG, File
handling, Overwrite-only mode} to "0". You can then insert characters into
fixed-length-record and binary files; but you better know what you are doing.
Thanks for alerting me to this fact. I tried
and I have really corrupted my files in no time. I shall stay away from it.
4.>You should have mentioned this first. This cannot easily be done; partly because it is meaningless.
I forgot to tell you that the last column contains no useful information, so I am overwriting it.
5. Finally, I would like to brag about my phone directory file. Specifically, I can adjust the length of the idividual fields,
via importing and exporting it to a spreadsheet. I have surfed the net and I could not find any phone software which does this. I have been working on this problem for some time. I started out with Procomm, which has been bought out by Symantec. It is a fine product but it is not aimed at automating voice calls. From my point of view another negative feature is that the Procomm phone directory is not a .dbf file; at least it was not in Version 2.1, which I bought. I can use Vedit to edit it, after manually entering the record and header sizes. Then I looked at
Bitware, which does use a .bdf file. It was a great relief that DBASE.VDM did put a readable Bitware phone directory on the screen. Again, the Bitware manual states explicitly that the size of the various fields can not be changed. Finally, thanks to your and Christian's kind help I should be able to edit .dbf phone directories within Vedit.
Thanks again,
-peter.
|
|