I have a report which is a govt prescribed format. Depending upon certain criteria, some of the paragraphs need to be ruled through.
I have set the report up by setting line controls over each of the paragraphs and tried using a Select Case statement to set the appropriate lines' visible property to false. However, the line controls very unreasonably refuse to co-operate by becoming invisible. Can anyone suggest what I'm doing wrong? The code I'm using is
Thanks in advance
Lightning X-)
[sig][/sig]
I have set the report up by setting line controls over each of the paragraphs and tried using a Select Case statement to set the appropriate lines' visible property to false. However, the line controls very unreasonably refuse to co-operate by becoming invisible. Can anyone suggest what I'm doing wrong? The code I'm using is
Code:
Select Case [NTVCode]
Case [NTVCode] = 1
[Line89].Visible = False
[Line90].Visible = False
Case [NTVCode] = 2
[Line54].Visible = False
[Line55].Visible = False
[Line56].Visible = False
Case [NTVCode] = 3
[Line57].Visible = False
[Line58].Visible = False
End Select
Thanks in advance
Lightning X-)
[sig][/sig]