Hello,
i've a query and a form and on the form i've 2 listboxes where people can select numbers. now i want that the query shows only the records between the 2 records and shows all records when the listboxes are empty. i've tried this code but is not working
the name of the query is "files query " and the name of the collumn = areaCode:IIf([Forms]![Search File]![cmbArea1]="";"";>=[Forms]![Search File]![cmbArea1] And <[Forms]![Search File]![cmbArea2])
does someone the code??
bey,
Martijn