Visual Basic (VB) is an event-driven programming language. It is also an Integrated development environment (IDE). If you are familiar with the BASIC programming language, then it will be easy to understand Visual Basic, since it is derived from BASIC. I will try to provide the basics about this language here, since it is the least discussed topic in the NAV community, but very essential to be understood by all report designers and developers.
Here we do not need to understand each and every detail of the VB programming language, but understanding the syntax and structure will help us understand the code that we are going to use in the RDLC report.
An example code of VB can be written as follows:
Public Function BlankZero(ByVal Value As Decimal) if Value = 0 then Return "" End if Return Value End Function End Sub
This preceding function, BlankZero
, basically just returns the value of the parameter. This is the simplest...