ник: osmor
Говорю же оЧепятки могут быть
Set rst = CurrentDb.OpenRecordset("SELECT " & _
strNameTabl1 & ".*, " & strNameTabl1 & ".* FROM " & _
strNameTabl1 & " INNER JOIN " & strNameTabl2 & _
" ON " & strNameTabl1 & "." & strIDName & " = " & strNameTabl2 & "." & strIDName & ";")
|
Читать как:
Set rst = CurrentDb.OpenRecordset("SELECT " & _
strNameTabl1 & ".*, " & strNameTabl2 & ".* FROM " & _
strNameTabl1 & " INNER JOIN " & strNameTabl2 & _
" ON " & strNameTabl1 & "." & strIDName & " = " & strNameTabl2 & "." & strIDName & ";")
|