Mail merge problem
-
- Posts: 22
- Joined: Sun Apr 06, 2008 1:08 am
Mail merge problem
I am attempting to generate address labels from a spread sheet. When I register the data source, everything works, except ZIP codes do not appear in the database. (The column is blank.) Actually, 9 digit zip codes do appear, but most of my zip codes are 5 digits.
Please help.
I am using Windows XP.
Frank
Please help.
I am using Windows XP.
Frank
Re: Mail merge problem
What is that column formatted as inthe spreadsheet. Is it formatted as text?
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
Gurkha Welfare Trust
Re: Mail merge problem
If I remember correctly a nine digit zip code is writtenTheGurkha wrote:What is that column formatted as inthe spreadsheet. Is it formatted as text?
XXXXX-XXXX
which would require it to be text, to prevent the (implied) subtraction taking place if it is numeric.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 22
- Joined: Sun Apr 06, 2008 1:08 am
Re: Mail merge problem
It is format as a number. However, I believe I tried formatting it as text, with no change.
Re: Mail merge problem
Format as text and re-enter the whole column like this:
Select the data in question.
Edit>Find>Replace
[More Options]
[X] Current Selection
[X] Regular Expression
Search: .+ [a point and a plus]
Replace: &
[Replace All]
Now the whole column has been converted to text. The database program can not handle columns of mixed text and numbers.
Save the sheet.
Reload the database.
Select the data in question.
Edit>Find>Replace
[More Options]
[X] Current Selection
[X] Regular Expression
Search: .+ [a point and a plus]
Replace: &
[Replace All]
Now the whole column has been converted to text. The database program can not handle columns of mixed text and numbers.
Save the sheet.
Reload the database.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
- Posts: 22
- Joined: Sun Apr 06, 2008 1:08 am
Re: Mail merge problem
If I make a new column for ZIP and type the correct numbers in, it works. (They end up formatted Numbers, General.)
If, however, I COPY the old ZIPs across, format them the same, it doesn't transfer from the spreadsheet to the Data Base.
WTFO??
Will I have to retype every ZIP code?
PS. Is there any way to directly edit the Data Bases created by the Wizard?
Frank
If, however, I COPY the old ZIPs across, format them the same, it doesn't transfer from the spreadsheet to the Data Base.
WTFO??
Will I have to retype every ZIP code?
PS. Is there any way to directly edit the Data Bases created by the Wizard?
Frank
-
- Posts: 22
- Joined: Sun Apr 06, 2008 1:08 am
Re: Mail merge problem
I had tried my experiments in the previous reply before I read the Find & Replace suggestion. I have now tried that, and it doesn't work. It appears that the Data Base only wants the date in Number, General format.
Frank
Frank
Re: Mail merge problem
No matter what you do. Just make sure that you have consistent list data.
One row of column labels.
Under that row each column has to be filled with text only or numbers only.
View>Highlight Values [Ctrl+F8] shows numbers in blue font.
As long as we can not talk about your actual data all advice is pointless.
I attach a pair of spreadsheet and connected database with one text column and several numeric columns.
One row of column labels.
Under that row each column has to be filled with text only or numbers only.
View>Highlight Values [Ctrl+F8] shows numbers in blue font.
As long as we can not talk about your actual data all advice is pointless.
I attach a pair of spreadsheet and connected database with one text column and several numeric columns.
- Attachments
-
- test_types.ods
- (12.39 KiB) Downloaded 394 times
-
- test_types.odb
- (2.73 KiB) Downloaded 269 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Mail merge problem
http://www.openoffice.org/issues/show_bug.cgi?id=109726
The issue has been fixed (again). I can confirm that Base treats mixed columns as text fields. The fields are not blanked.
The issue has been fixed (again). I can confirm that Base treats mixed columns as text fields. The fields are not blanked.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice