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

mshflexgrid problem

$
0
0
i would like to format the passwords in the grid...i really dont know how beacause its in string format..

Private Sub LoadUsers(grd As MSHFlexGrid)
If rs.State = 1 Then rs.Close
sql = "SELECT * FROM tblUsers"
rs.Open sql, con
Dim i As Integer
For i = 1 To rs.RecordCount
With grd
.Rows = .Rows + 1
.Row = i
.Redraw = False
.Col = 1: .Text = rs!UserID
.Col = 2: .Text = rs!UserFirstName
.Col = 3: .Text = rs!UserLastName
.Col = 4: .Text = rs!UserPassword<--(this is the one i want to format something like passwordchar "•" but it contain letters could it be possible to display it like "•"...?)
.Redraw = True
End With
rs.MoveNext
Next
End Sub

im just newbei programmer....

Viewing all articles
Browse latest Browse all 21848

Trending Articles



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