Iif question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am printing barcodes in a report. The barcode is linked to either of two
fields (stock, nonstock). When both fields are empty I get a error about a
Null value. How can I write an Iif statement that will eliminate the error
when both fields are empty?
The event procedure I have so far is:

Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)

Result = SetBarData(NonStockBarcode, Me)
Result = SetBarData(StockBarcode, Me)

End Sub

Thanks for any help
Patrick
 
Back
Top