Solved click to decrease date -1

SalmanZeiad

Member
Local time
Today, 07:05
Joined
Oct 30, 2017
Messages
112
When I press the button it subtracts from the date one day

How to do it?
 
add code to the button's click event:

private sub button_click()
me.datefield = cdate(nz(me.datefield, 1)) + 1
end sub
 

Users who are viewing this thread

Back
Top Bottom