+ Reply to Thread
Results 1 to 3 of 3

Avoid "Error! No document variable supplied"

Hybrid View

  1. #1
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Avoid "Error! No document variable supplied"

    you could just write a separate routine that takes a DocVariable and a value and have that routine do any variable testing for you. then you only have to write one test instead of many if statements.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  2. #2
    Registered User
    Join Date
    11-25-2011
    Location
    Lilydale, Victoria, Australia
    MS-Off Ver
    2013 (365)
    Posts
    63

    Red face Re: Avoid "Error! No document variable supplied"

    Thanks for the suggestion, JosephP. While I was trying to figure out how I might do that, I discovered that the method of putting in a " " was OK - it didn't work when I first tried it because I had been overwriting the " " with "". My bad!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1