Code:
select distinct (cars) from tbl1, tbl2 where tbl1.col1 =tbl2.col2 and tbl2.col2 is not null and tbl1.col3 not in (1,2,3,4) and tbl2.col4 = '2013.09'
select distinct (cars) from tbl1, tbl2 where tbl1.col1 =tbl2.col2 and tbl2.col2 is not null and tbl1.col3 not in (1,2,3,4) and tbl2.col4 = '2013.09'
Update Table1 Set Day(ColumnName) = '01'
DoCmd.OpenForm stDocName, acFormPivotChart
Leave a comment: