Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21273

[RESOLVED] MSFlexgrid Number Error

$
0
0
I am facing the issue with Flexgrid, I have a Filed in Access having some Large Numbers like (12354700 - 126698800 - 56685550, etc), while I m trying to show this in Flexgrid, but is not showing the complete number and showing like the attached snap. Please suggest a way to do it.

Attachment 94499

My code is as under

Code:

    Set rs = New ADODB.Recordset
        With rs
            .Open "SELECT tblChqRecDetail.ChqNumber, tblChqRecDetail.DueDate, tblChqRecDetail.BankDetail, tblChqRecDetail.ChqAmount, tblChqRecDetail.ChqRecId FROM tblChqRecDetail where ChqStatus <> '" & "Own" & "' or ChqStatus <> '" & "Endorsed" & "'", db, adOpenDynamic, adLockOptimistic
                If Not .EOF Then
                    While Not .EOF = True
                        fgData.TextMatrix(fgData.Row, 1) = rs(0)
                        fgData.Rows = fgData.Rows + 1
                        fgData.Row = fgData.Row + 1
                        rs.MoveNext
                    Wend
                End If
        End With
   
    fgData.ColWidth(1) = 2000

Attached Images
 

Viewing all articles
Browse latest Browse all 21273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>