Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Jul 2002
    Location
    Wellington, New Zealand
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    The Trouble with listboxes (word 2k office 2k)

    I have a form with two listboxes on it, which has just stopped working.
    Now when the form loads lstbox1 has a value "" type = varient/string and lstbox2 has a null value type = Varient/Null.
    On Yesterdays version both have a value "" type varient/null
    When I drew the form I copied one to the other.
    Can anyone tell me why and how to change them both to null
    I cant see where I changed this and it is screwwing with my ado code later on
    This happened once before and after a tedious compare of the code in the old and new versions I found no differences (except my days work) and infact when I cut and pasted the code from the broken version ontop of the working version it worked fine.

    I can furnish more details if needed.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: The Trouble with listboxes (word 2k office 2k)

    This isn't an answer, but... sometimes form objects get corrupted, in which case exporting them, removing them, and re-importing them can restore them to sanity.

  3. #3
    Lounger
    Join Date
    Jul 2002
    Location
    Wellington, New Zealand
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: The Trouble with listboxes (word 2k office 2k)

    found it
    My document saves large amounts of data to document variables, somehow it seems that intermittantly it will save to the template not the generated document. Clearing all the document variables on load fixes it.
    Its weird, I use activedocument.variables so it should never refer to the generating template??
    My client's decision to store values as variables rather than centrally
    Starnge thing is....your work around was effective...try explaining that in light of the above.

    A big vote of thanks to the guys at Redmond.....10 more hours billing

Posting Permissions

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