Jul 24, 2001 #1 vr Programmer Oct 14, 1999 54 US Can anyone tell me what is wrong with this? =IIf(IsNull([acctnumber]),[empnumber],[acctnumber]) I have this in the control source of a text box on a report. This is returning #Error in the preview of the report.
Can anyone tell me what is wrong with this? =IIf(IsNull([acctnumber]),[empnumber],[acctnumber]) I have this in the control source of a text box on a report. This is returning #Error in the preview of the report.
Jul 24, 2001 #2 DougP MIS Dec 13, 1999 5,985 US try this =IIf([acctnumber] = is null),[empnumber],[acctnumber]) goofy I know try it with a space and without is null isnull DougP, MCP Visit my WEB site http://www.barcodeone.com to see how Bar-codes can help you be more productive Upvote 0 Downvote
try this =IIf([acctnumber] = is null),[empnumber],[acctnumber]) goofy I know try it with a space and without is null isnull DougP, MCP Visit my WEB site http://www.barcodeone.com to see how Bar-codes can help you be more productive
Jul 24, 2001 #3 JoeMiller IS-IT--Management Apr 27, 2001 1,634 US Make sure that the name of the control is not AcctNumber or EmpNumber. If it is, you would get that #Error message. Joe Miller joe.miller@flotech.net Upvote 0 Downvote
Make sure that the name of the control is not AcctNumber or EmpNumber. If it is, you would get that #Error message. Joe Miller joe.miller@flotech.net
Jul 24, 2001 Thread starter #4 vr Programmer Oct 14, 1999 54 US Thank you Doug and Joe. My control was named AcctNumber. Upvote 0 Downvote