S SalmanZeiad Member Local time Today, 07:34 Joined Oct 30, 2017 Messages 112 Apr 19, 2021 #1 When I press the button it subtracts from the date one day How to do it?
arnelgp ..forever waiting... waiting for jellybean! Local time Today, 12:34 Joined May 7, 2009 Messages 20,357 Apr 19, 2021 #2 add code to the button's click event: private sub button_click() me.datefield = cdate(nz(me.datefield, 1)) + 1 end sub
add code to the button's click event: private sub button_click() me.datefield = cdate(nz(me.datefield, 1)) + 1 end sub
S SalmanZeiad Member Local time Today, 07:34 Joined Oct 30, 2017 Messages 112 Apr 19, 2021 #3 arnelgp said: add code to the button's click event: private sub button_click() me.datefield = cdate(nz(me.datefield, 1)) + 1 end sub Click to expand... GOOOD thank u @arnelgp
arnelgp said: add code to the button's click event: private sub button_click() me.datefield = cdate(nz(me.datefield, 1)) + 1 end sub Click to expand... GOOOD thank u @arnelgp
Ranman256 Well-known member Local time Today, 00:34 Joined Apr 9, 2015 Messages 4,354 Apr 19, 2021 #4 =dateadd("d",-1,dateval)