Null reference exception when adding to db

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Null reference exception when adding to db

Post by wjstarck » Fri Oct 31, 2008 10:30 am

Hello-

I am trying to add a new med to the db on FormAnesthMedsEdit and I'm getting a null reference exception when I try to do the write.

The code was recycled from FormSupplierEdit and I'm not seeing a difference that would account for this error.

If you have time, could you check and see if you get the same exception there with the latest commit (Go to Setup > Anesthetic Medications > Add New in OD)?

Thanks,
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Null reference exception when adding to db

Post by wjstarck » Sat Nov 01, 2008 5:57 am

NVM, I found it...
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

Post Reply