Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. iandavies147

    Change the value of a Word Mail Merge Datafield

    Hi macropod, Sorry to be a burden but I can't easily see how the use of two sets of IF tests can be used to resolve my issue. In the sample code you gave above you are testing for positions 1,2,3 and 4 could you show me the same tests but using two IF tests spliting the first IF for conditions...
  2. iandavies147

    Change the value of a Word Mail Merge Datafield

    Although both the previous posts are useful unfortunately they will not allow me to resolve this particular issue. The problem I have is that the comma can appear in any of the first 30 character positions Is there no way of setting the value of a datasource field to reset the value if a comma...
  3. iandavies147

    Change the value of a Word Mail Merge Datafield

    Hi Is it possible to add a condition to a word document so that you dont display a word mail merge datafield if it has a certain string contained in the datafield for example a comma? strValue = ActiveDocument.MailMerge.DataSource.DataFields("CUSTOMER") if instr(strValue,",") > 0 then...

Part and Inventory Search

Back
Top