Jun 17, 2003 #1 Mischamel Well-known member Joined Apr 17, 2003 Messages 91 Location Switzerland - Rome - Darmstadt Hoi, I
Jun 17, 2003 #2 S sizer Well-known member Joined Mar 6, 2003 Messages 123 Location Croatia try with this code Code: If myPAMRow("TicketID") = System.DBNull.Value Then ... ... End If
Jun 17, 2003 #3 Mischamel Well-known member Joined Apr 17, 2003 Messages 91 Location Switzerland - Rome - Darmstadt Good idea, thanks. But replace = with is
Jun 17, 2003 #4 Mischamel Well-known member Joined Apr 17, 2003 Messages 91 Location Switzerland - Rome - Darmstadt But it still isn
Jun 17, 2003 #5 S sizer Well-known member Joined Mar 6, 2003 Messages 123 Location Croatia post some code where you delcare myPAMRow...
Jun 17, 2003 #6 Mischamel Well-known member Joined Apr 17, 2003 Messages 91 Location Switzerland - Rome - Darmstadt Dim myARSRow, myCQRow, myPAMRow As DataRow
Jun 17, 2003 #7 Mischamel Well-known member Joined Apr 17, 2003 Messages 91 Location Switzerland - Rome - Darmstadt and ... myPAMRow = Dataset11_PAMFilter.PAM.FindByTicketID(ARSID)
Jun 17, 2003 #8 S sizer Well-known member Joined Mar 6, 2003 Messages 123 Location Croatia try with: Code: Dim myARSRow As New DataRow Dim myCQRow As New DataRow Dim myPAMRow As New DataRow
Jun 17, 2003 #9 S sizer Well-known member Joined Mar 6, 2003 Messages 123 Location Croatia sorry that doesnt work
Jun 17, 2003 #10 S sizer Well-known member Joined Mar 6, 2003 Messages 123 Location Croatia i think that you must add new row before you do anything with row more info at http://msdn.microsoft.com/library/d...ref/html/frlrfSystemDataDataRowClassTopic.asp
i think that you must add new row before you do anything with row more info at http://msdn.microsoft.com/library/d...ref/html/frlrfSystemDataDataRowClassTopic.asp
Jun 17, 2003 #11 M MHWright New member Joined Jun 13, 2003 Messages 1 try this code if IsDbNull(datarow.item()) then do something here end if
Jun 17, 2003 #12 Mischamel Well-known member Joined Apr 17, 2003 Messages 91 Location Switzerland - Rome - Darmstadt Still got the same error, if I use MHWright
Jun 17, 2003 #13 S sizer Well-known member Joined Mar 6, 2003 Messages 123 Location Croatia before checking if your row isNull you must do : Code: myRow = myDataSet.Tables(number/name of table ).NewRow() because your row doesnt "know" where to look ( which table,dataset..... ) Last edited by a moderator: Jun 17, 2003
before checking if your row isNull you must do : Code: myRow = myDataSet.Tables(number/name of table ).NewRow() because your row doesnt "know" where to look ( which table,dataset..... )
Jun 17, 2003 #14 Mischamel Well-known member Joined Apr 17, 2003 Messages 91 Location Switzerland - Rome - Darmstadt I thought it would because of the allocation above / following : myPAMRow = Dataset11_PAMFilter.PAM.FindByTicketID(ARSID) ... and if the ARSID wouldn
I thought it would because of the allocation above / following : myPAMRow = Dataset11_PAMFilter.PAM.FindByTicketID(ARSID) ... and if the ARSID wouldn
Jun 17, 2003 #15 S sizer Well-known member Joined Mar 6, 2003 Messages 123 Location Croatia if you want to check is your row is Nothing try with: Code: If myPAMRow Is Nothing Then .... .... End If
if you want to check is your row is Nothing try with: Code: If myPAMRow Is Nothing Then .... .... End If