Mijn webcam is van lego, mijn fotocamera's zijn van Nikon, de statieven van Manfrotto, mijn snowboards van Völkl en mijn laptop van apple (maar daar mag ik op DPZ niets over zeggen)...
Mijn webcam is van lego, mijn fotocamera's zijn van Nikon, de statieven van Manfrotto, mijn snowboards van Völkl en mijn laptop van apple (maar daar mag ik op DPZ niets over zeggen)...
Verwijderd
ohja (voordat andere het gaan zeggen)
Wat heb je al geprobeert
p.s
Surfdunk probeer eens de edit knop
[ Voor 18% gewijzigd door Verwijderd op 10-09-2003 16:39 ]
- me eigen rotgezocht op GOT en in de help...
als er geen postbus is, dan is dat veld leeg.. dat lijkt me checkbaar...
Kan ik een vergelijkbare IF in mijn SQL query proppen??? dan zou ik er ook zijn...
1
2
3
4
5
| if postbus = "" then adres AS adresregel1 else postbus AS adresregel1 end if |
hmm.. daar houdt mijn access dus ook niet van...
[ Voor 11% gewijzigd door surfpunk op 10-09-2003 16:53 ]
Mijn webcam is van lego, mijn fotocamera's zijn van Nikon, de statieven van Manfrotto, mijn snowboards van Völkl en mijn laptop van apple (maar daar mag ik op DPZ niets over zeggen)...
je kan gewoon if then else doen in word.
en de tweede in google is raak:
en dan mag je ff zelf zoeken in word zelfHave you ever wished you could customize the contents of a merge letter
based on the values stored in a merge field?
You can do just that with the If...Then...Else... merge field.
Let's say that in your letter, you want to show the number of
transactions for the month, a number that is stored in your data source
in a field called TransCount. If the value in TransCount is 1, you want
to print "1 transaction." If the value in TransCount is 0 or greater
than 1, you want to make the word "transaction" plural, as in "0
transactions" or "22 transactions."
Here's how to do that:
Remember, to replace TransCount in the instructions with the name of
your data field.
1. Click Tools from the pull-down menu bar
2. Select Mail Merge and edit your main document
3. On the Mail Merge toolbar, click the Insert Merge Field button
4. Select TransCount
5. Press the spacebar after the <<TransCount>> field
6. Type "transaction" in the main document
7. Click the Insert Word Field button and choose If...Then...Else....
8. Select TransCount in the Field Name dropdown list,
9. Choose Equal To in the Comparison dropdown list
10.Type 1 in the Compare To field (Leave the Insert This Text field
blank.)
11.In the last field, Otherwise Insert This Text, enter the letter "s"
12.Click OK
Now, when you run your mail merge, the If...Then...Else... field will
return nothing when the value in TransCount is 1, so the phrase in the
merge document will appear as "1 transaction." In all other cases, the
field will return the letter "s" which turns "transaction" into
"transactions."
[ Voor 8% gewijzigd door Bzzje op 10-09-2003 20:04 ]
Negeren is vooruitzien
Het werkt!!
thnx to Bzzje!
Mijn webcam is van lego, mijn fotocamera's zijn van Nikon, de statieven van Manfrotto, mijn snowboards van Völkl en mijn laptop van apple (maar daar mag ik op DPZ niets over zeggen)...