Private Sub Parametri()
Dim ladoRs As ADODB.Recordset
Dim lstrSql As String
Set ladoRs = New ADODB.Recordset
lstrSql = "SELECT * from servisi"
ladoRs.Open lstrSql, "DSN=" & "Videoteka" & ";" & "UID=" & gstrUID, adOpenDynamic, adLockOptimistic, adCmdText
If ladoRs.BOF = False And ladoRs.BOF = False Then
txtGratis.Text = ladoRs!gf
gintGratis = CInt(ladoRs!gf)
txtVrac.Text = ladoRs!rv
gintVrac = CInt(ladoRs!rv)
Else
txtGratis.Text = "0"
gintGratis = 0
txtVrac.Text = "0"
gintVrac = 0
End If
Set ladoRs = Nothing
End Sub