Topic: Needs DBASE.VDM enhancement (1 of 2), Read 63 times
Conf: Wildfile, Other macros
From: Peter Rejto
Date: Sunday, June 18, 2000 01:23 AM

Hi.
First a big thank you to Peter Freed for writing this macro and to Ted and Tom for including the DBASE macro in the distribution file KEY-MACRO.LIB. The simple Ted and Tom macro allowed me to study the Freed macro.

I have been successfully using the DBASE.VDM macro to open my .DBF files.

Now, I would like to add a new record to my file. If I try this I get an "overwrite mode only VEDIT error message. Do I understand it correctly? VEDIT allows only as many records as specified in the ASCII value of the character at position 4. (My total number of records is at most 255.

I have also changed the character at position 4 and DBASE.VDM reports 238 records. The number of my records is definitely less than that and I still can not add a new record. The cursor simply locks up.

Thanks,
-peter.

 


Topic: Re: Needs DBASE.VDM enhancement (2 of 2), Read 65 times
Conf: Wildfile, Other macros
From: Ted Green
Date: Monday, June 19, 2000 12:32 PM

At 09:09 AM 6/18/2000 -0400, you wrote:
>Now, I would like to add a new record to my file. If I try this I get an "overwrite mode only VEDIT error message.

By default, VEDIT is in overwrite mode whenever you are editing a fixed lenght record file. Set {CONFIG, File handling, Overwrite mode} to "0" to get around this.

Ted.