V
Vivista Eastbourne
hi,
Complicated query?
I have 4 sets of searches on a form
For each set there is a lstselectfrom named lstselectfrom1-4
under each of these boxes are a couple of textboxes
txtsearch11
txtsearch12 (only enabled if date range)
txtsearch21
txtsearch22 (only enabled if date range)
txtsearch31
txtsearch32 (only enabled if date range)
txtsearch41
txtsearch42 (only enabled if date range)
the second of each of these boxes only appears if the corresponding
lstselectfrom box is a date field
What I need to do is check each of the search boxes, ignore if null, and
create a query which will set SelectForView=-1
Query will need to allow for either text or date range (dd/mm/yyyy).
I have tried several methods but have been unsuccessful so far
Thanks
A
Complicated query?
I have 4 sets of searches on a form
For each set there is a lstselectfrom named lstselectfrom1-4
under each of these boxes are a couple of textboxes
txtsearch11
txtsearch12 (only enabled if date range)
txtsearch21
txtsearch22 (only enabled if date range)
txtsearch31
txtsearch32 (only enabled if date range)
txtsearch41
txtsearch42 (only enabled if date range)
the second of each of these boxes only appears if the corresponding
lstselectfrom box is a date field
What I need to do is check each of the search boxes, ignore if null, and
create a query which will set SelectForView=-1
Query will need to allow for either text or date range (dd/mm/yyyy).
I have tried several methods but have been unsuccessful so far
Thanks
A