2,743
edits
No edit summary |
No edit summary |
||
Line 81:
}
</syntaxhighlight>
<br/><br/>
Though the task is the same, which both display the result in a label
While, Calculated Field is able to temporary store the value.
*Calculated Field is especially useful when the report needs to calculate
Line 92:
*:as the replacement of a label to another control will require only rebinding of data.
<br/><br/>
This is an example of how to grab the detail(s) and display as a text on header.
Below coding requires adding directive of '''using System.Data;'''
Line 135:
</syntaxhighlight>
Build a string for SQL SELECT statement with
Example of Multiple values in SQL statement:
SELECT [Description] FROM Project WHERE ProjNo in (''''ProjA', 'ProjB'''')
|