ParentBusinessObject property is being reset


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This should not be coming from anywhere directly within the framework...otherwise there would be a LOT of broken dialogs our there...including ours! Smile

Here is what I would suggest.  Be sure that you have the SF source built in debug mode, then do the following:

  1. Open your project where the issue resides.
  2. Open the BusinessLayer.vb file while your project is open (just click File-> Open File -> BusinessLayer.vb
  3. Go down to around line 1323 (this may be different for you as there has been new code added on our side so the numbering will have changed).
  4. Place a break point on the Set of the ParentBusinessObject property

Then run your code again.  You may want to wait to add the breakpoint until you are ready to execute that one specific thing, but in any case, once you get to the Set, look at the call stack to see what is setting this to Nothing.

Tim Dol
Tim Dol
StrataFrame User (434 reputation)StrataFrame User (434 reputation)StrataFrame User (434 reputation)StrataFrame User (434 reputation)StrataFrame User (434 reputation)StrataFrame User (434 reputation)StrataFrame User (434 reputation)StrataFrame User (434 reputation)StrataFrame User (434 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
I've been trying to track down a problem with one of my programs since upgrading from 1.61 to 1.66.  The program is a basic parent/child form. I have set the ParentBusinessObject property on my child Business object, however when the program runs, the ParentBusinessObject is being reset to Nothing.  The value is fine after  initialize component but is set to nothing by time it hits ParentFormLoading.

Any ideas?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search