S
Scott
I have an IIF expression as follows:
IIF ((rstRef.RecordCount) > 0, IIF ((rstRef.RecordCount) = 1, vbCrLf &
vbCrLf & "Reference Number:", vbCrLf & vbCrLf & (strRef.RecordCount) & "
Reference Number(s):") & _ vbCrLf & vbCrLf & do Until rstRef.EOF &
(rstRef!ReferenceNumberCode) & " " & (rstRef!ReferenceNumberValue) & vbcrlf
& rstRef.MoveNext loop & vbcrlf, & " ") & _
But I'm getting the following compile error:
Excepted: expression
Doe's any one know how to do this.?
Thanks,
Scott
IIF ((rstRef.RecordCount) > 0, IIF ((rstRef.RecordCount) = 1, vbCrLf &
vbCrLf & "Reference Number:", vbCrLf & vbCrLf & (strRef.RecordCount) & "
Reference Number(s):") & _ vbCrLf & vbCrLf & do Until rstRef.EOF &
(rstRef!ReferenceNumberCode) & " " & (rstRef!ReferenceNumberValue) & vbcrlf
& rstRef.MoveNext loop & vbcrlf, & " ") & _
But I'm getting the following compile error:
Excepted: expression
Doe's any one know how to do this.?
Thanks,
Scott