Convering xlsx to dbf files

When I convert an address list file to dbf, I get a random line on line 1 of the converted file.eg

|N1,C,8|N2,C,10|N3,C,11|N4,C,13|N5,C,8|N6,C,9|N7,C,19|N8,C,13|

|RecordNo|Surname|Salutation|FirstName|initials|aka|Street|Add_line3|

Does anyone know what is causing this.
Thanks in advance.

Bob

This indicates the data types of the columns which is essential for any database application.

Thanks for that, but what do the numbers actually mean, and how do i get rid of them?

Thanks
Bob

When saving a sheet of Calc document in .dbf format, the first row of the used range (R1) is parsed.
If the values of all R1 cells can be interpreted as Dbase field names (in particular, they are not empty), then they are interpreted as field names, the remaining rows are interpreted as database records. The field type is selected based on the data in the second row of the used range.

Otherwise, “N1”, “N2”, “N3”… are selected for field names, the field type is “Character”. All strings, including R1, are interpreted as database records. This is probably your case.

When opening a dBase file, Calc shows the field name, field type, length, and other information (depending on the field type) in the first line.

If necessary, you can upload your .ods file (only the first few rows are important) and we can analyze your case more specifically.

When you convert dBase to spreadsheet, you may ignore the extra descriptors or remove them with find&replace.
When opening a dBase database table in a spreadsheet (a spreadsheet application is NOT a database), Calc will always display the column types.

Just a heads-up that when you alter or remove that first row and save the .dbf file again, you may alter the database structure in names, types and lengths of fields. Which for most cases may not matter but routines relying on the structure may trip over it.

Usually YOU should create the first line like

|RecordNo,C,8|Surname,C,10|Salutation,C,11|FirstName,C,13|initials,C,8|aka,C,9|Street,C,19|Add_line3,C,13|

If you open a dBase-File in Calc you are allowed to make changes as you like, but when saving back Calc will tell you for example you can’t save more than 10 characters in the field Surname. If you use a numeric type for the first column you would be forced to put numeric values there or they can’t be saved.
.

So for dBase you can’t get rid of this. You could perhaps use another database, but then you can not open the file in Calc but would be forced to edit via Base or other software.
.
So the basic question is: Why did you choose dBase?

I need a dbf file so that I use it with an (old version) of Avery label pro, which doesn’t work with xlsx files. I know I should be using a later version, but that isn’t as good IMO.

Bob

And how does that extra label displayed in Calc only affect that avery label program? Just give it a try and feed that program with your dBase file.