The HeadingID,HeadingName are stored in lkupHeadings.
The HeadingID,Goals,Measures,Weighting,Staffnumber,DateFrom,DateTo etc are stored in lkupObjectives.
Now I am writing the following code;
This gives me "Syntex error in Union query".
Any help will be much appreciated
Thanks
The HeadingID,Goals,Measures,Weighting,Staffnumber,DateFrom,DateTo etc are stored in lkupObjectives.
Now I am writing the following code;
Code:
Dim strsql As String
strsql = "(select Headingid from lkupHeadings) minus (select HeadingID from lkupobjectives where [StaffNumber]='" & Environ("Username") & "')"
MsgBox strsql
CboHeading.RowSource = strsql
This gives me "Syntex error in Union query".
Any help will be much appreciated
Thanks