annsolomon
MIS
I've shied away from coding SQL statements and have always used queries instead. I'd like to learn how but got Error #3075 (syntax error/missing operator) on my first attempt:
DoCmd.RunSQL "SELECT DISTINCT qryScheduleAppt.WONumber, qryScheduleAppt.ContactID" _
& "FROM qrySchedule INNER JOIN qryScheduleAppt ON" _
& "qrySchedule.ContactID = qryScheduleAppt.ContactID;"
I'd really appreciate it if someone could get me started and point out what I'm doing wrong here.
Ann
DoCmd.RunSQL "SELECT DISTINCT qryScheduleAppt.WONumber, qryScheduleAppt.ContactID" _
& "FROM qrySchedule INNER JOIN qryScheduleAppt ON" _
& "qrySchedule.ContactID = qryScheduleAppt.ContactID;"
I'd really appreciate it if someone could get me started and point out what I'm doing wrong here.
Ann