conditional

userZ

Registered User.
Local time
Today, 23:41
Joined
Oct 14, 2014
Messages
12
In my report open handler, If I got:

Code:
if (case1 = true) then
 With MyReport.lable1  .Caption="MyLable1":  .Visible=True : End With
end if
Can i some how move the if statement to inside the With statement?. Something like:

Code:
With MyReport.lable1  if (...) then .Caption="MyLable1" end if:  .Visible=True : End With
:D
 
More standard layout:

Code:
With MyReport.lable1

  If...

  End If

End With
 

Users who are viewing this thread

Back
Top Bottom