If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#31
|
|||
|
|||
How to remove automatically some pages?
I have sent you a sample document as requested.
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Tico wrote: I still can't see it there. Sorry. Click the waving note near the bottom of the Home page. Oh yes. I can see it now.. Sorry, I treated the waving element as a picture. :-) { IF { MERGEFIELD I } "\" "{ Includetext "c:\\test\\Sz_I.doc" \* MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez } "\" "{ Includetext "c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD II_str } "\" "{ Includetext "c:\\test\\Sz_II_s.doc" \* MERGEFORMAT } " "" }{ IF { MERGEFIELD III_bez } "\" "{ Includetext "c:\\test\\Sz_III.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD III_str } "\" "{ Includetext "c:\\test\\Sz_III_s.doc" \* MERGEFORMAT }" ""} OK. I'll try in a moment. There appears to be an issue with the slash character '\' that you have used in the test fields. I would suggest replacing that with '1' or 'A' and changing the conditional fields accordingly. I thought about it. As you know I wanted to remove pages with any special character so I chose "\" because it was not used in the data. Now I can change it. The other problems may relate to the fact that you are working in a different language which I don't understand and which I cannot entirely reproduce here so I regret I am unable to help you further to get this to produce exactly what you want. I realise that. I'll try to get correct results on my own. You mentioned that you could send me your sample working document. If you did, I'd be happy. :-) Thank you very, very much for all your help. I learnt a lot from you. :-) Best regards Tico Użytkownik "Graham Mayor" napisał w wiadomości ... Tico wrote: I still can't see it there. Sorry. Click the waving note near the bottom of the Home page. I used the .doc from you and I replaced the spaces in the field names with underscores. At the moment all 5 pages are processed but the condition "\" is still not checked so I get 40 pages as result (8 records in my example by 5 pages). I'm not having the best of days There was an error in my syntax that wouldn't have helped . It should have read: { IF { MERGEFIELD I } "\" "{ Includetext "c:\\test\\Sz_I.doc" \* MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez } "\" "{ Includetext "c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD II_str } "\" "{ Includetext "c:\\test\\Sz_II_s.doc" \* MERGEFORMAT } " "" }{ IF { MERGEFIELD III_bez } "\" "{ Includetext "c:\\test\\Sz_III.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD III_str } "\" "{ Includetext "c:\\test\\Sz_III_s.doc" \* MERGEFORMAT }" ""} There appears to be an issue with the slash character '\' that you have used in the test fields. I would suggest replacing that with '1' or 'A' and changing the conditional fields accordingly. The other problems may relate to the fact that you are working in a different language which I don't understand and which I cannot entirely reproduce here so I regret I am unable to help you further to get this to produce exactly what you want. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org |
#32
|
|||
|
|||
How to remove automatically some pages?
I have got it. :-) Thank you very, very much.
Best regards Tico Użytkownik "Graham Mayor" napisał w wiadomości ... I have sent you a sample document as requested. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Tico wrote: I still can't see it there. Sorry. Click the waving note near the bottom of the Home page. Oh yes. I can see it now.. Sorry, I treated the waving element as a picture. :-) { IF { MERGEFIELD I } "\" "{ Includetext "c:\\test\\Sz_I.doc" \* MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez } "\" "{ Includetext "c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD II_str } "\" "{ Includetext "c:\\test\\Sz_II_s.doc" \* MERGEFORMAT } " "" }{ IF { MERGEFIELD III_bez } "\" "{ Includetext "c:\\test\\Sz_III.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD III_str } "\" "{ Includetext "c:\\test\\Sz_III_s.doc" \* MERGEFORMAT }" ""} OK. I'll try in a moment. There appears to be an issue with the slash character '\' that you have used in the test fields. I would suggest replacing that with '1' or 'A' and changing the conditional fields accordingly. I thought about it. As you know I wanted to remove pages with any special character so I chose "\" because it was not used in the data. Now I can change it. The other problems may relate to the fact that you are working in a different language which I don't understand and which I cannot entirely reproduce here so I regret I am unable to help you further to get this to produce exactly what you want. I realise that. I'll try to get correct results on my own. You mentioned that you could send me your sample working document. If you did, I'd be happy. :-) Thank you very, very much for all your help. I learnt a lot from you. :-) Best regards Tico Użytkownik "Graham Mayor" napisał w wiadomości ... Tico wrote: I still can't see it there. Sorry. Click the waving note near the bottom of the Home page. I used the .doc from you and I replaced the spaces in the field names with underscores. At the moment all 5 pages are processed but the condition "\" is still not checked so I get 40 pages as result (8 records in my example by 5 pages). I'm not having the best of days There was an error in my syntax that wouldn't have helped . It should have read: { IF { MERGEFIELD I } "\" "{ Includetext "c:\\test\\Sz_I.doc" \* MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez } "\" "{ Includetext "c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD II_str } "\" "{ Includetext "c:\\test\\Sz_II_s.doc" \* MERGEFORMAT } " "" }{ IF { MERGEFIELD III_bez } "\" "{ Includetext "c:\\test\\Sz_III.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD III_str } "\" "{ Includetext "c:\\test\\Sz_III_s.doc" \* MERGEFORMAT }" ""} There appears to be an issue with the slash character '\' that you have used in the test fields. I would suggest replacing that with '1' or 'A' and changing the conditional fields accordingly. The other problems may relate to the fact that you are working in a different language which I don't understand and which I cannot entirely reproduce here so I regret I am unable to help you further to get this to produce exactly what you want. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org |
#33
|
|||
|
|||
How to remove automatically some pages?
You are welcome
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Tico wrote: I have got it. :-) Thank you very, very much. Best regards Tico Użytkownik "Graham Mayor" napisał w wiadomości ... I have sent you a sample document as requested. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Tico wrote: I still can't see it there. Sorry. Click the waving note near the bottom of the Home page. Oh yes. I can see it now.. Sorry, I treated the waving element as a picture. :-) { IF { MERGEFIELD I } "\" "{ Includetext "c:\\test\\Sz_I.doc" \* MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez } "\" "{ Includetext "c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD II_str } "\" "{ Includetext "c:\\test\\Sz_II_s.doc" \* MERGEFORMAT } " "" }{ IF { MERGEFIELD III_bez } "\" "{ Includetext "c:\\test\\Sz_III.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD III_str } "\" "{ Includetext "c:\\test\\Sz_III_s.doc" \* MERGEFORMAT }" ""} OK. I'll try in a moment. There appears to be an issue with the slash character '\' that you have used in the test fields. I would suggest replacing that with '1' or 'A' and changing the conditional fields accordingly. I thought about it. As you know I wanted to remove pages with any special character so I chose "\" because it was not used in the data. Now I can change it. The other problems may relate to the fact that you are working in a different language which I don't understand and which I cannot entirely reproduce here so I regret I am unable to help you further to get this to produce exactly what you want. I realise that. I'll try to get correct results on my own. You mentioned that you could send me your sample working document. If you did, I'd be happy. :-) Thank you very, very much for all your help. I learnt a lot from you. :-) Best regards Tico Użytkownik "Graham Mayor" napisał w wiadomości ... Tico wrote: I still can't see it there. Sorry. Click the waving note near the bottom of the Home page. I used the .doc from you and I replaced the spaces in the field names with underscores. At the moment all 5 pages are processed but the condition "\" is still not checked so I get 40 pages as result (8 records in my example by 5 pages). I'm not having the best of days There was an error in my syntax that wouldn't have helped . It should have read: { IF { MERGEFIELD I } "\" "{ Includetext "c:\\test\\Sz_I.doc" \* MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez } "\" "{ Includetext "c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD II_str } "\" "{ Includetext "c:\\test\\Sz_II_s.doc" \* MERGEFORMAT } " "" }{ IF { MERGEFIELD III_bez } "\" "{ Includetext "c:\\test\\Sz_III.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD III_str } "\" "{ Includetext "c:\\test\\Sz_III_s.doc" \* MERGEFORMAT }" ""} There appears to be an issue with the slash character '\' that you have used in the test fields. I would suggest replacing that with '1' or 'A' and changing the conditional fields accordingly. The other problems may relate to the fact that you are working in a different language which I don't understand and which I cannot entirely reproduce here so I regret I am unable to help you further to get this to produce exactly what you want. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org |
Thread Tools | |
Display Modes | |
|
|