J
Jean-Paul
I use 2 tables:
Leerlingen
and
Diverse
Both have a field ID
I want the value stored in the field ID to store in the interger lln_nr
but I can't find the correct syntax
This is the code
sql_meet = "SELECT leerlingen.*, Diverse.* FROM leerlingen INNER JOIN
Diverse ON leerlingen.ID = Diverse.ID WHERE Diverse.Meetlabo= False AND
leerlingen.[Nu nog leerling]=True And leerlingen.Klas='1';"
Set TB_meet = db.OpenRecordset(sql_meet)
lln_nr = TB_meet!ID
Anybody any idea?
Thanks
Leerlingen
and
Diverse
Both have a field ID
I want the value stored in the field ID to store in the interger lln_nr
but I can't find the correct syntax
This is the code
sql_meet = "SELECT leerlingen.*, Diverse.* FROM leerlingen INNER JOIN
Diverse ON leerlingen.ID = Diverse.ID WHERE Diverse.Meetlabo= False AND
leerlingen.[Nu nog leerling]=True And leerlingen.Klas='1';"
Set TB_meet = db.OpenRecordset(sql_meet)
lln_nr = TB_meet!ID
Anybody any idea?
Thanks