Welcome to Forums Sign in | Join | Help | Forums
in Search


Variable not set problem

Last post 01-12-2004 11:55 AM by Eric Aldrich. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-12-2003 12:02 PM

    Variable not set problem

    I am getting the error "Object variable or With block variable not set" when trying to update a participant attribute. The code is part of a screen I wrote to update events. What makes this weird is when this is happening. When I am creating the event and updating the participant attributes the first time it works fine. When I am resaving changes to event it fails. However, I haven't changed this participant attribute. Moreover, it is the 16th attribute. The first 15 update just fine. Does anyone have any suggestions? Eric Aldrich
  • 12-16-2003 8:10 PM In reply to

    Variable not set problem

    Sounds like a traditional 'off-by-one' error, but if you're using a With block it couldn't be that. Are you sure that your 'mother' object is active when you are calling the code to update the event? And of course, code snippets usually help diagnose these sorts of things. What did developer support at Blackbaud say?
  • 01-12-2004 11:55 AM In reply to

    Variable not set problem

    Blackbaud support was quite helpful. One of their suggestions led me to finding the problem. It turns out it was just bad code on my part. There's a first. Eric
Page 1 of 1 (3 items)