Hi all,

I am trying to populate a list box ona form with data in a table. I am new to Access VBA and am not able to do it. Following is the snapshot of my code. Could somebody please look into it tell me where am I going wrong and wht shld I change. Any help would be sincerely appreciated.


Code:
Private Sub Form_Load()
    Dim strSQL As String
    Dim strcustomername As String
    Dim rstLoans
...