I am designing a sub report and would like to force a new line when a condition is met. Only one control in the report, whch is set for 4 columns , structured across then down. The presentation is meant to look like a CSV formatted document.
I am Using A2007 and A2003.
I have tried this expression in the query source control so that a new line would be forced if a condition is met.
IIf([SomeFactor]=1,[ControlName] & " & " & "chr(13)" & " & " & "chr(10)",[controlName]) & “, “
I have tried it with and without quotes with and without &, I also tried vbLF and vbCR in place of Chr(13) and chr(10).
even though consensus on visited sites seems to be that vb-- expressions are for visual basic only.
The few answers that I have found by googling various help sites mostly don't cover what to put in the query. The one or two that do just don't work (inluding this site)
Can someone tell me what simple thing I am missing?
Any help much appreciated.