f1=allt(str(int(thisform.spinner2.value)))+"/"+allt(str(int(thisform.spinner3.value)))+"/"+alltrim(str(int(thisform.spinner1.value)))
t1=allt(str(int(thisform.spinner5.value)))+"/"+allt(str(int(thisform.spinner6.value)))+"/"+alltrim(str(int(thisform.spinner4.value)))
set filter to rq>=ctod(f1) .and. rq<=ctod(t1)
f1=allt(str(int(thisform.spinner2.value)))+"/"+allt(str(int(thisform.spinner3.value)))+"/"+alltrim(str(int(thisform.spinner1.value)))
t1=allt(str(int(thisform.spinner5.value)))+"/"+allt(str(int(thisform.spinner6.value)))+"/"+alltrim(str(int(thisform.spinner4.value)))
set filter to rq>=ctod(f1) .and. rq<=ctod(t1)
f1=allt(str(int(thisform.spinner2.value)))+"/"+allt(str(int(thisform.spinner3.value)))+"/"+alltrim(str(int(thisform.spinner1.value)))
t1=allt(str(int(thisform.spinner5.value)))+"/"+allt(str(int(thisform.spinner6.value)))+"/"+alltrim(str(int(thisform.spinner4.value)))
set filter to rq>=ctod(f1) .and. rq<=ctod(t1)