I think this is:
I have 2 tables, "kayitt" and "hprogram."
I want to open a recordset containing data from both of these tables at the same time, but I have rows in hprogram with no matching records in kayit.
¿so just not both of hprogram and kayit rocors + hprogram recors.?
example:
Code:
Set rs22 = db22.OpenRecordset("SELECT hprogram.giris, hprogram.cikis, " & _
" kayit.adisoyadi, kayit.tarih, " & _
" kayit.gun, kayit.girissaati, " & _
" kayit.cikissaati " & _
"FROM hprogram, kayit " & _
"WHERE (kayit.kartno = hprogram.kartno) " & _
" AND (kayit.gun = hprogram.gun) " & _
" AND (kayit.tarih = '" & Label4.Caption & "') " & _
"ORDER BY bolumu, kayit.adisoyadi ")
This code runs successfully only when I have matching records in both tables.
But there are cases where I know there relationed records in hprogram, though the relationship is not one to one.
Selamiduvar: What is the database management system (Oracle, SQL Server, Access)?