Mar 16, 2007 #1 besto1a Programmer Aug 20, 2006 41 GB I have this code: If IsDBNull(Me.DsTables1.tbl_EWTCases.FindByEWReference(ewRef).AssignedTo) Then But receive a error message stating cannot convert Dbnull to string, how can i covercome this THanks
I have this code: If IsDBNull(Me.DsTables1.tbl_EWTCases.FindByEWReference(ewRef).AssignedTo) Then But receive a error message stating cannot convert Dbnull to string, how can i covercome this THanks
Mar 16, 2007 #2 ThatRickGuy Programmer Oct 12, 2001 3,841 US I usually use: Code: if Me.DsTables1.tbl_EWTCases.FindByEWReference(ewRef).AssignedTo = DBNull.Value then -Rick VB.Net Forum forum796 forum855 ASP.NET Forum I believe in killer coding ninja monkeys. Upvote 0 Downvote
I usually use: Code: if Me.DsTables1.tbl_EWTCases.FindByEWReference(ewRef).AssignedTo = DBNull.Value then -Rick VB.Net Forum forum796 forum855 ASP.NET Forum I believe in killer coding ninja monkeys.