Results 1 to 4 of 4

Thread: The details for the code..

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2005
    Posts
    26

    The details for the code..

    Hi,

    Could sombody let me know the details of the following code word by word:
    VB Code:
    1. Private Sub cboAccType_Click()
    2. Set rsTemp = New ADODB.Recordset
    3. rsTemp.Open "Select * FROM tblAccTypes WHERE AccountName='" & cboAccType.Text & "'", cnBank, adOpenKeyset, adLockOptimistic
    4. With rsTemp
    5. If .RecordCount > 0 Then
    6.     lblMin = !MinBalance
    7.     Else
    8.         Exit Sub
    9. End If
    10. End With
    11. End Sub



    Edit: Added [vbcode][/vbcode] tags for clarity. - Hack
    Last edited by Hack; Sep 22nd, 2005 at 08:27 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width