Hi,
I have a form Called NewCall, I also have a form addNote which inherits from NewCall.

In the NewCall load event I have
VB Code:
  1. RecommendID = objDatabase.SqlDVFillRecommends(objMainform.grdCallingList.CurrentRowIndex)("PK_RecommendID").ToString()

The Program compiles fine and runs fine its just that this piece of code is causing an error to appear at design time on when opening the inherited form in design view.
Null Reference Exception object reference not set to an instance of an object.