vb6 - How to use multiple inner joins for visual basic 6 -
i looking way use 2 inner joins can link 3 databases together. use :
rs.open "select * school inner join name on school.id = name.id", db, 3, 3
i need add database called opdracht. after db linked want link ids together. in code above 3 ids.
i hope can me this.
the specific syntax depend on database / driver using add join statement. prefer building string , assigning string makes code easier read.
... dim strsql string strsql = "select * (school " & _ "inner join name on school.id = name.id) " & _ "inner join opdracht on opdracht.id = name.id" rs.open strsql, db, 3, 3 ...
Comments
Post a Comment