I have transactionData in RE framework which is null in some conditions and the condition i have to new transaction is Not(TransactionNumber = TransactionData.rows.count)
which is giving me visualbasicValue object reference not set to an object
I think bcoz transactionData is null it is throwing this error , if i use “transactionData isNot nothing and Not(TransactionNumber = TransactionData.rows.count”
If you are trying to check if the TransactionData is empty, then this alone will suffice, but if you want the last condition as well, then go ahead and use this →
IsNothing(TransactionData) OrElse TransactionData.RowCount.Equals(0) OrElse Not TransactionNumber.Equals(TransactionData.RowCount)
I am curious, could you please tell me why you are checking if the transaction number is equal to the TransactionData variable row count?