Ron_dK
Cool bop aficionado
- Local time
- Today, 22:16
- Joined
- Sep 5, 2002
- Messages
- 2,141
Hi,
I have a form with a large number of text boxes.
Most of these textboxes are used to display calculated (date) data, i.e :
Controlsource of textbox1 : =DCount(" [Survey-Input-ID]","[Qry-analyze-input]","[Pname] like 'S' and [Survey-conducted] between #1/1/2005# and #1/31/2005# and [Etype] like 'N' ")
Controlsource of textbox 12 :
=DCount(" [Survey-Input-ID]","[Qry-analyze-input]","[Pname] like 'A' and [Survey-conducted] between #11/1/2005# and #11/30/2005# and [Etype] like 'A' ")
I need to change the date(s) in these expressions to get all the 2006 data.
So 1/1/2005 should be 1/1/2006 etc.
Is there a way to automate the date changes in all textboxes in one go, instead of changing dates one by one. ?
Would appreciate any pointer.
Ron
I have a form with a large number of text boxes.
Most of these textboxes are used to display calculated (date) data, i.e :
Controlsource of textbox1 : =DCount(" [Survey-Input-ID]","[Qry-analyze-input]","[Pname] like 'S' and [Survey-conducted] between #1/1/2005# and #1/31/2005# and [Etype] like 'N' ")
Controlsource of textbox 12 :
=DCount(" [Survey-Input-ID]","[Qry-analyze-input]","[Pname] like 'A' and [Survey-conducted] between #11/1/2005# and #11/30/2005# and [Etype] like 'A' ")
I need to change the date(s) in these expressions to get all the 2006 data.
So 1/1/2005 should be 1/1/2006 etc.
Is there a way to automate the date changes in all textboxes in one go, instead of changing dates one by one. ?
Would appreciate any pointer.
Ron