Hi,
I want to Change the Font to Bold and Alignment to VBFlexCenterCenter of Last row in my Flexgrid. Please check the attached picture and find the below code
![Name: FgIssue.JPG
Views: 167
Size: 23.8 KB]()
Farooq
I want to Change the Font to Bold and Alignment to VBFlexCenterCenter of Last row in my Flexgrid. Please check the attached picture and find the below code
Code:
While Not rs.EOF = True
With fgPostDate
.TextMatrix(.Row, 0) = rs(0)
.TextMatrix(.Row, 1) = rs(1)
.TextMatrix(.Row, 2) = rs(2)
.TextMatrix(.Row, 3) = rs(3)
.TextMatrix(.Row, 4) = rs(4)
TotalAmount = Val(TotalAmount) + Val(rs(4))
.Rows = .Rows + 1
.Row = .Row + 1
End With
rs.MoveNext
Wend
With fgPostDate
.TextMatrix(.Row, 3) = "----------------------------------------------------"
.TextMatrix(.Row, 4) = "------------------"
.Rows = .Rows + 1
.Row = .Row + 1
.TextMatrix(.Row, 3) = " T O T A L"
.TextMatrix(.Row, 4) = Val(TotalAmount)
End With
Farooq