use table select * from table where client.dateapp=sdate into table apprreport&& somewhere before i have sdate=thisform.date.value if reccount('appreport')=0 messagebox("no records to display") else messagebox("ken>all") endifyou see the thing is....the select statement doesnt work if i use a date even if i write out the date like 01/01/1990 i get data type mismatch or if i pass the date to a variable sdate. it copies all the records to the apprreport table. i know nothin is wrong with my select cause if use name or anythin else it works just not date.
select * from table where client.dateapp>=sdate and client.dateap<=edate into table apprreportcause i wanna make a report on everybody that applied between the sdate(start date) and edate(end date)