G
Guest
Could someone decipher what the last line of this means? I gave you a snippit
so you can see what it is starting to do but I think the last line is giving
me problems. Another developer built this and I am lost. I see a table in a
query called CHECKLIST and there is no table or query in this databse named
Checklist. slo I think the last line references a SQL string somewhere that
will help me out. Any ideas?
Sub Form_Load()
Dim cn As New ADODB.Connection
Dim rst As New ADODB.Recordset
Dim strSQL As String
blnFormLoading = True
'Determine which tabs to show
Set cn = CurrentProject.Connection
strSQL = "Select groupname from qfrmLoanCheckList where Loanid=" &
Me!LoanID.Value & " Group By GroupName Order By GroupName"
rst.Open strSQL, cn, adOpenDynamic, adLockOptimistic
so you can see what it is starting to do but I think the last line is giving
me problems. Another developer built this and I am lost. I see a table in a
query called CHECKLIST and there is no table or query in this databse named
Checklist. slo I think the last line references a SQL string somewhere that
will help me out. Any ideas?
Sub Form_Load()
Dim cn As New ADODB.Connection
Dim rst As New ADODB.Recordset
Dim strSQL As String
blnFormLoading = True
'Determine which tabs to show
Set cn = CurrentProject.Connection
strSQL = "Select groupname from qfrmLoanCheckList where Loanid=" &
Me!LoanID.Value & " Group By GroupName Order By GroupName"
rst.Open strSQL, cn, adOpenDynamic, adLockOptimistic